Update deployment.yaml

This commit is contained in:
sirius0xdev 2026-05-07 16:03:21 -04:00 committed by GitHub
parent d651352c6a
commit bc27146148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,9 +27,11 @@ spec:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
runAsUser: 0
allowPrivilegeEscalation: true
allowPrivilegeEscalation: false
@ -40,7 +42,7 @@ spec:
- -c - -c
args: args:
- | - |
pk add --no-cache git > /dev/null 2>&1 || true apk add --no-cache git
mkdir -p /data/.hermes/webui /data/.cache /data/.config /data/bin mkdir -p /data/.hermes/webui /data/.cache /data/.config /data/bin
chmod -R g+rwX,o-rwx /data chmod -R g+rwX,o-rwx /data
chown -R 1000:1000 /data/.hermes /data/.cache /data/.config /data/bin || true chown -R 1000:1000 /data/.hermes /data/.cache /data/.config /data/bin || true