adjust security settings
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
# Uncomment if storing configuration in the repo
|
||||||
|
# - configmap.yaml
|
||||||
- ./thelounge
|
- ./thelounge
|
||||||
- ./znc
|
- ./znc
|
||||||
|
|||||||
@@ -14,10 +14,15 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: thelounge
|
app.kubernetes.io/name: thelounge
|
||||||
|
app.kubernetes.io/instance: thelounge
|
||||||
spec:
|
spec:
|
||||||
|
priorityClassName: low-priority
|
||||||
containers:
|
containers:
|
||||||
- name: thelounge
|
- name: thelounge
|
||||||
image: ghcr.io/thelounge/thelounge:latest
|
image: ghcr.io/thelounge/thelounge:latest
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
runAsNonRoot: true
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9000
|
- containerPort: 9000
|
||||||
name: http-9000
|
name: http-9000
|
||||||
|
|||||||
@@ -15,9 +15,13 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: znc
|
app.kubernetes.io/name: znc
|
||||||
spec:
|
spec:
|
||||||
|
priorityClassName: low-priority
|
||||||
containers:
|
containers:
|
||||||
- name: znc
|
- name: znc
|
||||||
image: lscr.io/linuxserver/znc:latest
|
image: lscr.io/linuxserver/znc:latest
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
runAsNonRoot: true
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 6501
|
- containerPort: 6501
|
||||||
name: irc-6501
|
name: irc-6501
|
||||||
|
|||||||
Reference in New Issue
Block a user