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
kind: Kustomization
resources:
# Uncomment if storing configuration in the repo
# - configmap.yaml
- ./thelounge
- ./znc
+5
View File
@@ -14,10 +14,15 @@ spec:
metadata:
labels:
app.kubernetes.io/name: thelounge
app.kubernetes.io/instance: thelounge
spec:
priorityClassName: low-priority
containers:
- name: thelounge
image: ghcr.io/thelounge/thelounge:latest
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
ports:
- containerPort: 9000
name: http-9000
+5 -1
View File
@@ -15,9 +15,13 @@ spec:
labels:
app.kubernetes.io/name: znc
spec:
priorityClassName: low-priority
containers:
- name: znc
image: lscr.io/linuxserver/znc:latest
image: lscr.io/linuxserver/znc:latest
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
ports:
- containerPort: 6501
name: irc-6501