fix(hermes-webui): hermes-agent main container non-root (UID/GID 1000)
- Aligns with webui sidecar on shared hermes-data PVC (/opt/data == /home/hermeswebui/.hermes) - Previously root:root files blocked webui writes (whoami non-fatal) - Pod securityContext: runAsNonRoot: true + runAsUser: 1000 for restricted:latest compliance - fsGroup:1000 ensures volume g+rw
This commit is contained in:
parent
c2e899d56d
commit
dfe32018b7
1 changed files with 5 additions and 3 deletions
|
|
@ -14,8 +14,10 @@ spec:
|
||||||
app: hermes-agent
|
app: hermes-agent
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
fsGroup: 1000
|
||||||
containers:
|
containers:
|
||||||
- name: hermes-agent
|
- name: hermes-agent
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|
@ -23,8 +25,8 @@ spec:
|
||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
runAsUser: 0
|
runAsUser: 1000
|
||||||
runAsGroup: 0
|
runAsGroup: 1000
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
image: nousresearch/hermes-agent:latest
|
image: nousresearch/hermes-agent:latest
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue