Update deployment.yaml

This commit is contained in:
sirius0xdev 2026-05-07 14:42:10 -04:00 committed by GitHub
parent 5f9112fd31
commit 9fec3dafaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ spec:
type: RuntimeDefault type: RuntimeDefault
initContainers: initContainers:
- name: fix-webui-perms - name: fix-webui-perms
image: busybox:1.37 image: alpine:3.20
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
@ -45,7 +45,13 @@ spec:
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
chown -R 1024:1024 /data/.hermes/webui || true chown -R 1024:1024 /data/.hermes/webui || true
echo "✅ Hermes data permissions fixed (agent=1000, webui=1024)" echo "✅ Hermes data permissions fixed (agent=1000, webui=1024)"
if [ ! -d "/data/.hermes/hermes-agent" ]; then
echo "Cloning hermes-agent source..."
git clone https://github.com/NousResearch/hermes-agent.git /data/.hermes/hermes-agent
echo "hermes-agent source cloned successfully"
else
echo "hermes-agent source already present"
fi
volumeMounts: volumeMounts:
- name: hermes-data - name: hermes-data
mountPath: /data mountPath: /data