From 6d4b2946e09e4ce98e83311811624e4cd32994b2 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Mon, 14 Oct 2024 20:43:25 -0400 Subject: [PATCH] fix: allow privileged volsync movers for download namespace --- kubernetes/common/templates/volsync/minio.yaml | 6 +++--- kubernetes/main/apps/download/namespace.yaml | 4 ++-- kubernetes/main/apps/download/radarr/ks.yaml | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/kubernetes/common/templates/volsync/minio.yaml b/kubernetes/common/templates/volsync/minio.yaml index 5f8b485..33dfc0e 100644 --- a/kubernetes/common/templates/volsync/minio.yaml +++ b/kubernetes/common/templates/volsync/minio.yaml @@ -46,6 +46,6 @@ spec: accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"] capacity: "${VOLSYNC_CAPACITY}" # moverSecurityContext: - # runAsUser: 10000 - # runAsGroup: 10000 - # fsGroup: 10000 \ No newline at end of file + # runAsUser: 10000 + # runAsGroup: 10000 + # fsGroup: 10000 \ No newline at end of file diff --git a/kubernetes/main/apps/download/namespace.yaml b/kubernetes/main/apps/download/namespace.yaml index 58038f1..2138b6e 100644 --- a/kubernetes/main/apps/download/namespace.yaml +++ b/kubernetes/main/apps/download/namespace.yaml @@ -2,5 +2,5 @@ apiVersion: v1 kind: Namespace metadata: name: download - labels: - name: download \ No newline at end of file + annotations: + volsync.backube/privileged-movers: "true" diff --git a/kubernetes/main/apps/download/radarr/ks.yaml b/kubernetes/main/apps/download/radarr/ks.yaml index d30a142..6bdba83 100644 --- a/kubernetes/main/apps/download/radarr/ks.yaml +++ b/kubernetes/main/apps/download/radarr/ks.yaml @@ -17,6 +17,9 @@ spec: provider: sops secretRef: name: sops-gpg + dependsOn: + - name: openebs + - name: openebs-sc postBuild: substituteFrom: - kind: ConfigMap