{{/* vim: set filetype=mustache: */}}

{{/* annotations */}}

{{- define "prometheus-fail2ban-exporter.secrets.webConfig.annotations" -}}
{{ include "prometheus-fail2ban-exporter.annotations" . }}
{{- if .Values.config.webConfig.secret.annotations }}
{{ toYaml .Values.config.webConfig.secret.annotations }}
{{- end }}
{{- end }}

{{/* labels */}}

{{- define "prometheus-fail2ban-exporter.secrets.webConfig.labels" -}}
{{ include "prometheus-fail2ban-exporter.labels" . }}
{{- if .Values.config.webConfig.secret.labels }}
{{ toYaml .Values.config.webConfig.secret.labels }}
{{- end }}
{{- end }}