fix(hermes-webui): webui runAsUser: 0 to trigger image entrypoint chown/gosu
- WANTED_UID=1000 detects root → chowns volumes + gosu 1000 app (runtime non-root) - Fixes whoami (root phase OK) + double-perm fix w/ init - PodSecurity OK (per-container fields; pod no runAsNonRoot)
This commit is contained in:
parent
8f52cb1c25
commit
560f5b76cf
1 changed files with 2 additions and 4 deletions
|
|
@ -168,13 +168,11 @@ spec:
|
|||
memory: 512Mi
|
||||
cpu: "500m"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
allowPrivilegeEscalation: true
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
runAsUser: 0
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue