deploy-templates/prometheus-postgres-exporter/templates/configmap.yaml (12 lines of code) (raw):
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "prometheus-postgres-exporter.fullname" . }}
labels:
app: {{ template "prometheus-postgres-exporter.name" . }}
chart: {{ template "prometheus-postgres-exporter.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
config.yaml: |
{{ printf .Values.config.queries | indent 4 }}