You've already forked prometheus-fail2ban-exporter-charts
refac(templates): remove parent dir 'prometheus-fail2ban-exporter'
This commit is contained in:
20
templates/_configMap.tpl
Normal file
20
templates/_configMap.tpl
Normal file
@ -0,0 +1,20 @@
|
||||
{{/* 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 }}
|
Reference in New Issue
Block a user