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 }}