fix(hermes-webui): fsGroup=1000 + PodSecurity compliance for PVC access
This commit is contained in:
parent
b762f345e2
commit
2ff889d297
1 changed files with 11 additions and 0 deletions
|
|
@ -13,8 +13,18 @@ spec:
|
|||
labels:
|
||||
app: hermes-agent
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
runAsGroup: 1000
|
||||
containers:
|
||||
- name: hermes-agent
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
image: nousresearch/hermes-agent:latest
|
||||
command: ["/bin/bash", "-c"]
|
||||
args:
|
||||
|
|
@ -121,6 +131,7 @@ spec:
|
|||
- ALL
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue