From 62b3a07e2f6e51ddb35e6205161685ddfade35b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Sat, 16 Nov 2024 15:32:14 +0100 Subject: [PATCH] kata-deploy: helm: Add overlooked INSTALLATION_PREFIX env var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At the same time that INSTALLATION_PREFIX was added, I was working on the helm changes to properly do the cleanup / deletion when it's removed. However, I missed adding the INSTALLATION_PREFIX env var there. which I'm doing now. Signed-off-by: Fabiano FidĂȘncio --- .../helm-chart/kata-deploy/templates/post-delete-job.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/packaging/kata-deploy/helm-chart/kata-deploy/templates/post-delete-job.yaml b/tools/packaging/kata-deploy/helm-chart/kata-deploy/templates/post-delete-job.yaml index c49b349279..c395bedb7e 100644 --- a/tools/packaging/kata-deploy/helm-chart/kata-deploy/templates/post-delete-job.yaml +++ b/tools/packaging/kata-deploy/helm-chart/kata-deploy/templates/post-delete-job.yaml @@ -90,6 +90,8 @@ spec: value: {{ .Values.env.pullTypeMapping | quote }} - name: HELM_POST_DELETE_HOOK value: "true" + - name: INSTALLATION_PREFIX + value: {{ .Values.env.installationPrefix | quote }} {{- with .Values.env.hostOS }} - name: HOST_OS value: {{ . | quote }}