Skip to content

Commit

Permalink
fix(postgres-exporter): fix flag format (#2952)
Browse files Browse the repository at this point in the history
Signed-off-by: František Hána <[email protected]>

Signed-off-by: František Hána <[email protected]>
  • Loading branch information
sinacek authored Jan 26, 2023
1 parent 55e36f4 commit 19f0289
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-postgres-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "0.11.1"
description: A Helm chart for prometheus postgres-exporter
name: prometheus-postgres-exporter
version: 4.2.0
version: 4.2.1
home: https://github.com/prometheus-community/postgres_exporter
sources:
- https://github.com/prometheus-community/postgres_exporter
Expand Down
4 changes: 2 additions & 2 deletions charts/prometheus-postgres-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ spec:
- "--extend.query-path=/etc/config.yaml"
- "--web.listen-address=:{{ .Values.service.targetPort }}"
{{- if .Values.config.disableCollectorDatabase }}
- "--collector.database=false"
- "--no-collector.database"
{{- end }}
{{- if .Values.config.disableCollectorBgwriter }}
- "--collector.bgwriter=false"
- "--no-collector.bgwriter"
{{- end }}
{{- if .Values.config.disableDefaultMetrics }}
- "--disable-default-metrics"
Expand Down

0 comments on commit 19f0289

Please sign in to comment.