adjust security settings

This commit is contained in:
2026-01-17 11:26:10 -05:00
parent e2cf8ff1b0
commit 2516f0a47f
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -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
+5
View File
@@ -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
+5 -1
View File
@@ -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