diff --git a/ceph/templates/job-keyring.yaml b/ceph/templates/job-keyring.yaml index 1038cb782a..b90cccad63 100644 --- a/ceph/templates/job-keyring.yaml +++ b/ceph/templates/job-keyring.yaml @@ -18,6 +18,7 @@ limitations under the License. {{- $envAll := . }} {{- if .Values.deployment.storage_secrets }} {{- range $key1, $cephBootstrapKey := tuple "mds" "osd" "rgw" "mon" }} +{{- if not (and (not $envAll.Values.manifests.deployment_rgw) (eq $cephBootstrapKey "rgw")) }} {{- $jobName := print $cephBootstrapKey "-keyring-generator" }} --- apiVersion: batch/v1 @@ -86,3 +87,4 @@ spec: {{- end }} {{- end }} {{- end }} +{{- end }}