prometheus-fail2ban-exporte.../templates/prometheus-fail2ban-exporter/_configMap.tpl
2025-01-19 21:18:53 +01:00

20 lines
752 B
Smarty

{{/* 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 }}