Fix secret name

This commit is contained in:
Guilhem Lavaux 2024-12-08 10:57:44 +01:00
parent 21d9e490dc
commit 1096913741

View File

@ -1,7 +1,7 @@
{{- $webhook_secret := .Values.updater.webhook_secret }} {{- $webhook_secret := .Values.updater.webhook_secret }}
{{- $apiUsername := .Values.updater.apiUsername }} {{- $apiUsername := .Values.updater.apiUsername }}
{{- $apiPassword := .Values.updater.apiPassword }} {{- $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 }} {{- $secretData := (lookup "v1" "Secret" .Release.Namespace $secretName).data }}