Add --include-databases arguments to Postgres exporter values (#1099)

Signed-off-by: Paul de Nonancourt <pdenonancourt@octo.com>

Co-authored-by: Paul de Nonancourt <pdenonancourt@octo.com>
This commit is contained in:
paulden
2021-06-24 02:57:11 +08:00
committed by GitHub
co-authored by Paul de Nonancourt
parent 69e7ce5f75
commit 41808ef222
3 changed files with 6 additions and 1 deletions
@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "0.9.0"
description: A Helm chart for prometheus postgres-exporter
name: prometheus-postgres-exporter
version: 2.3.4
version: 2.3.5
home: https://github.com/prometheus-community/postgres_exporter
sources:
- https://github.com/prometheus-community/postgres_exporter
@@ -57,6 +57,10 @@ spec:
- "--exclude-databases"
- {{ .Values.config.excludeDatabases | join "," }}
{{- end }}
{{- if .Values.config.includeDatabases }}
- "--include-databases"
- {{ .Values.config.includeDatabases | join "," }}
{{- end }}
{{- end }}
{{- if .Values.config.constantLabels }}
{{ $firstLabel := true -}}
@@ -115,6 +115,7 @@ config:
disableSettingsMetrics: false
autoDiscoverDatabases: false
excludeDatabases: []
includeDatabases: []
constantLabels: {}
# possible values debug, info, warn, error, fatal
logLevel: ""