From ed5e0c6aadfdb62dc377b33961588bcca4e9376e Mon Sep 17 00:00:00 2001 From: Stefan Warnat Date: Sun, 29 Dec 2024 17:24:49 +0100 Subject: [PATCH 1/2] fix: reference secret-env by fullname instead release-name --- charts/umap/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/umap/templates/deployment.yaml b/charts/umap/templates/deployment.yaml index 96780f95..85ee5746 100644 --- a/charts/umap/templates/deployment.yaml +++ b/charts/umap/templates/deployment.yaml @@ -66,7 +66,7 @@ spec: {{- end }} envFrom: - secretRef: - name: {{ .Release.Name }}-env + name: {{ include "umap.fullname" . }}-env volumeMounts: - name: config mountPath: /etc/umap/ From d4df6aaae55c3ff04e5ffe9b03a66b99261f615c Mon Sep 17 00:00:00 2001 From: Stefan Warnat Date: Sun, 29 Dec 2024 17:59:41 +0100 Subject: [PATCH 2/2] fix: Update ConfigMap reference name to fullname --- charts/umap/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/umap/templates/deployment.yaml b/charts/umap/templates/deployment.yaml index 85ee5746..47af4caa 100644 --- a/charts/umap/templates/deployment.yaml +++ b/charts/umap/templates/deployment.yaml @@ -80,7 +80,7 @@ spec: volumes: - name: config secret: - secretName: {{ .Release.Name }}-config + secretName: {{ include "umap.fullname" . }}-config - name: statics emptyDir: {} {{- if .Values.persistence.enabled }}