diff --git a/ceph/templates/bin/_ceph-namespace-client-key.sh.tpl b/ceph/templates/bin/_ceph-namespace-client-key.sh.tpl index 4b6b6f49a1..33aeb9c72d 100644 --- a/ceph/templates/bin/_ceph-namespace-client-key.sh.tpl +++ b/ceph/templates/bin/_ceph-namespace-client-key.sh.tpl @@ -20,6 +20,9 @@ set -ex ceph_activate_namespace() { kube_namespace=$1 + CEPH_KEY=$(kubectl get secret ${PVC_CEPH_STORAGECLASS_ADMIN_SECRET_NAME} \ + --namespace=${PVC_CEPH_STORAGECLASS_DEPLOYED_NAMESPACE} \ + -o json | jq -r '.data | .[]') { cat <