style: avoid control operator of toYaml
All checks were successful
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 23s

This commit is contained in:
Markus Pesch 2025-04-26 22:58:21 +02:00
parent e7ccd21400
commit a702f8678f
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ kind: ConfigMap
metadata: metadata:
{{- with (include "prometheus-fail2ban-exporter.configMap.grafanaDashboards.fail2banExporter.annotations" . | fromYaml) }} {{- with (include "prometheus-fail2ban-exporter.configMap.grafanaDashboards.fail2banExporter.annotations" . | fromYaml) }}
annotations: annotations:
{{- tpl (. | toYaml) $ | nindent 4 }} {{- tpl (toYaml .) $ | nindent 4 }}
{{- end }} {{- end }}
{{- with (include "prometheus-fail2ban-exporter.configMap.grafanaDashboards.fail2banExporter.labels" . | fromYaml) }} {{- with (include "prometheus-fail2ban-exporter.configMap.grafanaDashboards.fail2banExporter.labels" . | fromYaml) }}
labels: labels:

View File

@ -3,7 +3,7 @@ kind: DaemonSet
metadata: metadata:
{{- with (include "prometheus-fail2ban-exporter.daemonSet.annotations" . | fromYaml) }} {{- with (include "prometheus-fail2ban-exporter.daemonSet.annotations" . | fromYaml) }}
annotations: annotations:
{{- tpl (. | toYaml) $ | nindent 4 }} {{- tpl (toYaml .) $ | nindent 4 }}
{{- end }} {{- end }}
{{- with (include "prometheus-fail2ban-exporter.daemonSet.labels" . | fromYaml) }} {{- with (include "prometheus-fail2ban-exporter.daemonSet.labels" . | fromYaml) }}
labels: labels:

View File

@ -5,7 +5,7 @@ kind: Ingress
metadata: metadata:
{{- with (include "prometheus-fail2ban-exporter.ingress.annotations" . | fromYaml) }} {{- with (include "prometheus-fail2ban-exporter.ingress.annotations" . | fromYaml) }}
annotations: annotations:
{{- tpl (. | toYaml) $ | nindent 4 }} {{- tpl (toYaml .) $ | nindent 4 }}
{{- end }} {{- end }}
{{- with (include "prometheus-fail2ban-exporter.ingress.labels" . | fromYaml) }} {{- with (include "prometheus-fail2ban-exporter.ingress.labels" . | fromYaml) }}
labels: labels: