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

{{/* annotations */}}

{{- define "prometheus-fail2ban-exporter.ingress.annotations" -}}
{{ include "prometheus-fail2ban-exporter.annotations" . }}
{{- if .Values.ingress.annotations }}
{{ toYaml .Values.ingress.annotations }}
{{- end }}
{{- end }}

{{/* labels */}}

{{- define "prometheus-fail2ban-exporter.ingress.labels" -}}
{{ include "prometheus-fail2ban-exporter.labels" . }}
{{- if .Values.ingress.labels }}
{{ toYaml .Values.ingress.labels }}
{{- end }}
{{- end }}