Trying different execution of init script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -9,7 +9,6 @@ podSecurityContext:
|
||||
securityContext:
|
||||
privileged: false
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
@@ -32,9 +31,13 @@ initContainers:
|
||||
image: debian
|
||||
tag: stable-slim
|
||||
command: |
|
||||
chmod +x /hugo.conf/setup_hugo.sh &&
|
||||
/hugo.conf/setup_hugo.sh
|
||||
bash -c "/hugo.conf/setup_hugo.sh"
|
||||
securityContext:
|
||||
runAsUser: 2000
|
||||
runAsGroup: 2000
|
||||
fsGroup: 2000
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
runAsNonRoot: true
|
||||
privileged: false
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
@@ -42,12 +45,12 @@ initContainers:
|
||||
- ALL
|
||||
seccompProfile:
|
||||
type: "RuntimeDefault"
|
||||
podSecurityContext:
|
||||
runAsUser: 2000
|
||||
runAsGroup: 2000
|
||||
fsGroup: 2000
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
runAsNonRoot: true
|
||||
|
||||
monitor:
|
||||
enabled: true
|
||||
|
||||
probe:
|
||||
enabled: true
|
||||
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in New Issue
Block a user