Update template to include optional user/group restore uid/gid.

This commit is contained in:
Joseph Hanson 2024-02-28 20:28:55 -06:00
parent 83440808ae
commit 7204d65f38
2 changed files with 9 additions and 9 deletions

View file

@ -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}

View file

@ -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