Update template to include optional user/group restore uid/gid.
This commit is contained in:
parent
83440808ae
commit
7204d65f38
2 changed files with 9 additions and 9 deletions
|
@ -43,9 +43,9 @@ spec:
|
|||
storageClassName: "${VOLSYNC_STORAGECLASS:-ceph-block}"
|
||||
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
||||
moverSecurityContext:
|
||||
runAsUser: 568
|
||||
runAsGroup: 568
|
||||
fsGroup: 568
|
||||
runAsUser: ${APP_UID:-568}
|
||||
runAsGroup: ${APP_GID:-568}
|
||||
fsGroup: ${APP_GID:-568}
|
||||
retain:
|
||||
hourly: 24
|
||||
daily: 7
|
||||
|
@ -70,6 +70,6 @@ spec:
|
|||
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
||||
capacity: "${VOLSYNC_CAPACITY}"
|
||||
moverSecurityContext:
|
||||
runAsUser: 568
|
||||
runAsGroup: 568
|
||||
fsGroup: 568
|
||||
runAsUser: ${APP_UID:-568}
|
||||
runAsGroup: ${APP_GID:-568}
|
||||
fsGroup: ${APP_GID:-568}
|
||||
|
|
|
@ -43,8 +43,8 @@ spec:
|
|||
storageClassName: "${VOLSYNC_STORAGECLASS:-ceph-block}"
|
||||
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
|
||||
moverSecurityContext:
|
||||
runAsUser: 568
|
||||
runAsGroup: 568
|
||||
fsGroup: 568
|
||||
runAsUser: ${APP_UID:-568}
|
||||
runAsGroup: ${APP_GID:-568}
|
||||
fsGroup: ${APP_GID:-568}
|
||||
retain:
|
||||
daily: 7
|
||||
|
|
Loading…
Reference in a new issue