From 10969137414a55db0b559406b980709cbec9494f Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 8 Dec 2024 10:57:44 +0100 Subject: [PATCH] Fix secret name --- templates/secrets.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/secrets.yaml b/templates/secrets.yaml index af0fb30..da1e26b 100644 --- a/templates/secrets.yaml +++ b/templates/secrets.yaml @@ -1,7 +1,7 @@ {{- $webhook_secret := .Values.updater.webhook_secret }} {{- $apiUsername := .Values.updater.apiUsername }} {{- $apiPassword := .Values.updater.apiPassword }} -{{- $secretName := printf "%s-webhook-secret" .Release.Namespace }} +{{- $secretName := printf "%s-webhook-secret" .Release.Name }} {{- $secretData := (lookup "v1" "Secret" .Release.Namespace $secretName).data }}