ceph: skip rgw keyring-generator when not needed
Change-Id: I12d151587963b30a910146edaead54e55505077e
This commit is contained in:
parent
ae4da1e7ef
commit
e4e01362f7
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user