From f75208290fc01d3c9cf482cf44a1e7396b30b273 Mon Sep 17 00:00:00 2001 From: "Neely, Travis (tn720x)" Date: Thu, 7 Jan 2021 09:10:25 -0600 Subject: [PATCH] Resolves mount issue with termination-log [0] introduced an error with the terminiation message path. This patchset mimics the solution used elsewhere such as from [1]. [0] https://review.opendev.org/c/openstack/openstack-helm/+/769575 [1] https://review.opendev.org/plugins/gitiles/openstack/openstack-helm/+/refs/heads/master/nova/templates/daemonset-compute.yaml#95 Change-Id: I0fac4e4ba1cd643a75d5341b3d6a920f07cc3dde --- cinder/Chart.yaml | 2 +- cinder/templates/deployment-volume.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cinder/Chart.yaml b/cinder/Chart.yaml index e8032586c6..2be5bc0149 100644 --- a/cinder/Chart.yaml +++ b/cinder/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Cinder name: cinder -version: 0.1.4 +version: 0.1.5 home: https://docs.openstack.org/cinder/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png sources: diff --git a/cinder/templates/deployment-volume.yaml b/cinder/templates/deployment-volume.yaml index a6bb3b73d1..629f059e96 100755 --- a/cinder/templates/deployment-volume.yaml +++ b/cinder/templates/deployment-volume.yaml @@ -146,6 +146,7 @@ spec: {{ dict "envAll" $envAll "application" "cinder_volume" "container" "cinder_volume" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }} command: - /tmp/cinder-volume.sh + terminationMessagePath: /var/log/termination-log volumeMounts: - name: pod-tmp mountPath: /tmp