Files
prometheus-postgres-exporter/templates/_podMonitors.tpl
Markus Pesch 3c8a92fb04
All checks were successful
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 17s
refac(templates): remove parent dir 'prometheus-postgres-exporter'
2025-07-23 21:24:27 +02:00

20 lines
619 B
Smarty

{{/* vim: set filetype=mustache: */}}
{{/* annotations */}}
{{- define "prometheus-postgres-exporter.podMonitors.http.annotations" -}}
{{ include "prometheus-postgres-exporter.annotations" . }}
{{- if .Values.prometheus.metrics.podMonitor.annotations }}
{{ toYaml .Values.prometheus.metrics.podMonitor.annotations }}
{{- end }}
{{- end }}
{{/* labels */}}
{{- define "prometheus-postgres-exporter.podMonitors.http.labels" -}}
{{ include "prometheus-postgres-exporter.labels" . }}
{{- if .Values.prometheus.metrics.podMonitor.labels }}
{{ toYaml .Values.prometheus.metrics.podMonitor.labels }}
{{- end }}
{{- end }}