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
|
memory: 512Mi
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: true
|
||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
runAsNonRoot: true
|
runAsUser: 0
|
||||||
runAsUser: 1000
|
|
||||||
runAsGroup: 1000
|
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue