From e5d600fdee34cd75a9d3cc1e2739a95e913b7742 Mon Sep 17 00:00:00 2001 From: Andrii Ostapenko Date: Wed, 9 Sep 2020 20:50:22 -0500 Subject: [PATCH] [tls] Add missing mysql certs to heat-purge-deleted cj Change-Id: Id434ddcb28f10a5d95550236a892676626c14123 Signed-off-by: Andrii Ostapenko --- heat/templates/cron-job-purge-deleted.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/heat/templates/cron-job-purge-deleted.yaml b/heat/templates/cron-job-purge-deleted.yaml index 469d7171e4..dd275d7519 100644 --- a/heat/templates/cron-job-purge-deleted.yaml +++ b/heat/templates/cron-job-purge-deleted.yaml @@ -79,6 +79,7 @@ spec: subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }} readOnly: true {{ end }} +{{- dict "enabled" $envAll.Values.manifests.certificates "name" $envAll.Values.endpoints.oslo_db.auth.admin.secret.tls.internal "path" "/etc/mysql/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 14 }} {{ if $mounts_heat_purge_deleted.volumeMounts }}{{ toYaml $mounts_heat_purge_deleted.volumeMounts | indent 14 }}{{ end }} volumes: - name: pod-tmp @@ -89,6 +90,7 @@ spec: secret: secretName: heat-etc defaultMode: 0444 +{{- dict "enabled" $envAll.Values.manifests.certificates "name" $envAll.Values.endpoints.oslo_db.auth.admin.secret.tls.internal | include "helm-toolkit.snippets.tls_volume" | indent 12 }} - name: heat-bin configMap: name: heat-bin