fix: allow privileged volsync movers for download namespace

This commit is contained in:
SeanOMik 2024-10-14 20:43:25 -04:00
parent 48a57df9a9
commit 6d4b2946e0
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
3 changed files with 8 additions and 5 deletions

View File

@ -46,6 +46,6 @@ spec:
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"] accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
capacity: "${VOLSYNC_CAPACITY}" capacity: "${VOLSYNC_CAPACITY}"
# moverSecurityContext: # moverSecurityContext:
# runAsUser: 10000 # runAsUser: 10000
# runAsGroup: 10000 # runAsGroup: 10000
# fsGroup: 10000 # fsGroup: 10000

View File

@ -2,5 +2,5 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: download name: download
labels: annotations:
name: download volsync.backube/privileged-movers: "true"

View File

@ -17,6 +17,9 @@ spec:
provider: sops provider: sops
secretRef: secretRef:
name: sops-gpg name: sops-gpg
dependsOn:
- name: openebs
- name: openebs-sc
postBuild: postBuild:
substituteFrom: substituteFrom:
- kind: ConfigMap - kind: ConfigMap