diff --git a/templates/prometheus-fail2ban-exporter/configMapGrafanaDashboardFail2BanExporter.yaml b/templates/prometheus-fail2ban-exporter/configMapGrafanaDashboardFail2BanExporter.yaml index 0b51c70..d571175 100644 --- a/templates/prometheus-fail2ban-exporter/configMapGrafanaDashboardFail2BanExporter.yaml +++ b/templates/prometheus-fail2ban-exporter/configMapGrafanaDashboardFail2BanExporter.yaml @@ -5,7 +5,7 @@ kind: ConfigMap metadata: {{- with (include "prometheus-fail2ban-exporter.configMap.grafanaDashboards.fail2banExporter.annotations" . | fromYaml) }} annotations: - {{- tpl (. | toYaml) $ | nindent 4 }} + {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} {{- with (include "prometheus-fail2ban-exporter.configMap.grafanaDashboards.fail2banExporter.labels" . | fromYaml) }} labels: diff --git a/templates/prometheus-fail2ban-exporter/daemonSet.yaml b/templates/prometheus-fail2ban-exporter/daemonSet.yaml index 7814335..94ed02f 100644 --- a/templates/prometheus-fail2ban-exporter/daemonSet.yaml +++ b/templates/prometheus-fail2ban-exporter/daemonSet.yaml @@ -3,7 +3,7 @@ kind: DaemonSet metadata: {{- with (include "prometheus-fail2ban-exporter.daemonSet.annotations" . | fromYaml) }} annotations: - {{- tpl (. | toYaml) $ | nindent 4 }} + {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} {{- with (include "prometheus-fail2ban-exporter.daemonSet.labels" . | fromYaml) }} labels: diff --git a/templates/prometheus-fail2ban-exporter/ingress.yaml b/templates/prometheus-fail2ban-exporter/ingress.yaml index 4e3318d..96ca4ea 100644 --- a/templates/prometheus-fail2ban-exporter/ingress.yaml +++ b/templates/prometheus-fail2ban-exporter/ingress.yaml @@ -5,7 +5,7 @@ kind: Ingress metadata: {{- with (include "prometheus-fail2ban-exporter.ingress.annotations" . | fromYaml) }} annotations: - {{- tpl (. | toYaml) $ | nindent 4 }} + {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} {{- with (include "prometheus-fail2ban-exporter.ingress.labels" . | fromYaml) }} labels: