change command
This commit is contained in:
@@ -6,23 +6,22 @@ photoview:
|
|||||||
strategy: Recreate
|
strategy: Recreate
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
initContainers:
|
initContainers:
|
||||||
init-sysctl:
|
init-chmod-data:
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
image:
|
image:
|
||||||
repository: busybox
|
repository: busybox
|
||||||
tag: 1.37.0
|
tag: 1.37.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
securityContext:
|
command:
|
||||||
privileged: True
|
- /bin/sh
|
||||||
|
- -ec
|
||||||
|
- |
|
||||||
|
/bin/chown -R 999:999 /app/cache
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
args:
|
|
||||||
- -ec
|
|
||||||
- |
|
|
||||||
chown -R 999:999 /app/cache
|
|
||||||
containers:
|
containers:
|
||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
@@ -88,6 +87,9 @@ photoview:
|
|||||||
retain: false
|
retain: false
|
||||||
advancedMounts:
|
advancedMounts:
|
||||||
main:
|
main:
|
||||||
|
init-chmod-data:
|
||||||
|
- path: /app/cache
|
||||||
|
readOnly: false
|
||||||
main:
|
main:
|
||||||
- path: /app/cache
|
- path: /app/cache
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
Reference in New Issue
Block a user