Update deployment.yaml
This commit is contained in:
parent
b281e7a4ad
commit
07bb6c0059
1 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,10 @@ spec:
|
||||||
- |
|
- |
|
||||||
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
|
||||||
echo "✅ Hermes data permissions fixed (non-root with fsGroup)"
|
chown -R 1000:1000 /data/.hermes /data/.cache /data/.config /data/bin || true
|
||||||
|
chown -R 1024:1024 /data/.hermes/webui || true
|
||||||
|
echo "✅ Hermes data permissions fixed (agent=1000, webui=1024)"
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: hermes-data
|
- name: hermes-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue