mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Create prometheus postgres exporter chart * Apply rbac best pratices for service account * create conditional to create serviceAccount
12 lines
382 B
YAML
12 lines
382 B
YAML
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 }} |