From 2c031b882b54c26ff8a344d9c8f0010d0f5c28b1 Mon Sep 17 00:00:00 2001 From: "Gupta, Sangeet (sg774j)" Date: Wed, 5 Aug 2020 19:18:27 +0000 Subject: [PATCH] feat(tls): added mariadb certs to nova-placement This patchset add maraibd certs to the nova-placement for it to connect securley with mariadb. Change-Id: Icece0c108cb8bacfaae187d183afa56a8cdfc492 --- nova/templates/deployment-placement.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nova/templates/deployment-placement.yaml b/nova/templates/deployment-placement.yaml index 58c9021dc9..1391cd9ab8 100644 --- a/nova/templates/deployment-placement.yaml +++ b/nova/templates/deployment-placement.yaml @@ -120,6 +120,7 @@ spec: subPath: security.conf 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 12 }} {{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.placement.placement.internal "path" "/etc/nova/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }} {{ if $mounts_nova_placement.volumeMounts }}{{ toYaml $mounts_nova_placement.volumeMounts | indent 12 }}{{ end }} volumes: @@ -135,6 +136,7 @@ spec: secret: secretName: nova-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 8 }} {{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.placement.placement.internal | include "helm-toolkit.snippets.tls_volume" | indent 8 }} {{ if $mounts_nova_placement.volumes }}{{ toYaml $mounts_nova_placement.volumes | indent 8 }}{{ end }} {{- end }}