From c54f51c603141c08ce5291711ba8fccf6c8c7c67 Mon Sep 17 00:00:00 2001 From: Radu Viorel Cosnita Date: Tue, 27 Aug 2019 12:27:28 +0200 Subject: [PATCH] Mount all ironic conductor volumes. We can configure custom volumes and volumeMounts in the helm chart for ironic conductor and these are now mounted in the ironic-conductor container. Change-Id: I717920cb0b75951175019bb991c8d948916a9db3 Signed-off-by: Radu Viorel Cosnita Story: 2006458 Task: 36380 --- ironic/templates/statefulset-conductor.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ironic/templates/statefulset-conductor.yaml b/ironic/templates/statefulset-conductor.yaml index 1135820562..4df3833bef 100644 --- a/ironic/templates/statefulset-conductor.yaml +++ b/ironic/templates/statefulset-conductor.yaml @@ -194,6 +194,7 @@ spec: mountPath: /sys - name: pod-data mountPath: /var/lib/openstack-helm +{{ if $mounts_ironic_conductor.volumeMounts }}{{ toYaml $mounts_ironic_conductor.volumeMounts | indent 12 }}{{ end }} - name: ironic-conductor-pxe {{ tuple $envAll "ironic_pxe" | include "helm-toolkit.snippets.image" | indent 10 }} {{ tuple $envAll $envAll.Values.pod.resources.conductor | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}