feat(hydra-oidc): non root user deployment
This commit is contained in:
parent
faeb801d8f
commit
3e2aa22b8d
|
@ -46,6 +46,10 @@ spec:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: hydra-oidc-env
|
name: hydra-oidc-env
|
||||||
resources: {}
|
resources: {}
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsGroup: 1000
|
||||||
|
runAsUser: 1000
|
||||||
|
|
||||||
- image: reg.cadoles.com/cmsassot/hydra-oidc-test:latest
|
- image: reg.cadoles.com/cmsassot/hydra-oidc-test:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
@ -90,4 +94,8 @@ spec:
|
||||||
- name: CADDY_APP_ROOT_PUBLIC
|
- name: CADDY_APP_ROOT_PUBLIC
|
||||||
value: "/app/public/"
|
value: "/app/public/"
|
||||||
resources: {}
|
resources: {}
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsGroup: 1000
|
||||||
|
runAsUser: 1000
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
|
|
Loading…
Reference in New Issue