diff --git a/pihole-exporter/templates/secrets.yaml b/pihole-exporter/templates/secrets.yaml index 3654ca6..f634822 100644 --- a/pihole-exporter/templates/secrets.yaml +++ b/pihole-exporter/templates/secrets.yaml @@ -10,7 +10,7 @@ data: {{ if .Values.secretEnvVars.PIHOLE_PASSWORD }} PIHOLE_PASSWORD: {{ .Values.secretEnvVars.PIHOLE_PASSWORD | b64enc | quote }} {{ end }} - {{ if .Values.secretEnvVars.PIHOLE_APITOKEN }} + {{ if .Values.secretEnvVars.PIHOLE_API_TOKEN }} PIHOLE_API_TOKEN: {{ .Values.secretEnvVars.PIHOLE_API_TOKEN | b64enc | quote }} {{ end }} {{ end }}