{{/* vim: set filetype=mustache: */}} {{/* annotations */}} {{- define "prometheus-fail2ban-exporter.configMap.grafanaDashboards.fail2banExporter.annotations" -}} {{ include "prometheus-fail2ban-exporter.annotations" . }} {{- if .Values.grafana.dashboards.fail2banExporter.annotations }} {{ toYaml .Values.grafana.dashboards.fail2banExporter.annotations }} {{- end }} {{- end }} {{/* labels */}} {{- define "prometheus-fail2ban-exporter.configMap.grafanaDashboards.fail2banExporter.labels" -}} {{ include "prometheus-fail2ban-exporter.labels" . }} {{- if .Values.grafana.dashboards.fail2banExporter.labels }} {{ toYaml .Values.grafana.dashboards.fail2banExporter.labels }} {{- end }} {{ toYaml .Values.grafana.dashboardDiscoveryLabels }} {{- end }}