From dd62dacdef077862d44cc0d51cddcfe0f84d91ae Mon Sep 17 00:00:00 2001 From: "Gupta, Sangeet (sg774j)" Date: Thu, 30 Jul 2020 22:52:27 +0000 Subject: [PATCH] feat(tls): add database certificate to cinder-pai Change-Id: Ifab2eb8c345ce8ea110dbab044a2675f011e1ef3 --- cinder/templates/deployment-api.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cinder/templates/deployment-api.yaml b/cinder/templates/deployment-api.yaml index 0a94d8196f..b4d4618df7 100644 --- a/cinder/templates/deployment-api.yaml +++ b/cinder/templates/deployment-api.yaml @@ -152,6 +152,7 @@ spec: subPath: mpm_event.conf readOnly: true {{- end }} +{{- dict "enabled" .Values.manifests.certificates "name" .Values.endpoints.oslo_db.auth.admin.secret.tls.internal "path" "/etc/mysql/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }} {{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.volume.api.internal "path" "/etc/cinder/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }} {{ if $mounts_cinder_api.volumeMounts }}{{ toYaml $mounts_cinder_api.volumeMounts | indent 12 }}{{ end }} volumes: @@ -173,6 +174,7 @@ spec: - name: cinder-coordination emptyDir: {} {{- end }} +{{- dict "enabled" .Values.manifests.certificates "name" .Values.endpoints.oslo_db.auth.admin.secret.tls.internal | include "helm-toolkit.snippets.tls_volume" | indent 8 }} {{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.volume.api.internal | include "helm-toolkit.snippets.tls_volume" | indent 8 }} {{ if $mounts_cinder_api.volumes }}{{ toYaml $mounts_cinder_api.volumes | indent 8 }}{{ end }} {{- end }}