diff --git a/kubernetes/templates/volsync/minio.yaml b/kubernetes/templates/volsync/minio.yaml index e1f3710f..5af4c633 100644 --- a/kubernetes/templates/volsync/minio.yaml +++ b/kubernetes/templates/volsync/minio.yaml @@ -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} diff --git a/kubernetes/templates/volsync/r2.yaml b/kubernetes/templates/volsync/r2.yaml index 051ebf7d..18c3d6f8 100644 --- a/kubernetes/templates/volsync/r2.yaml +++ b/kubernetes/templates/volsync/r2.yaml @@ -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