diff --git a/charts/prometheus-postgres-exporter/Chart.yaml b/charts/prometheus-postgres-exporter/Chart.yaml index 7bb18c53e8fa..c2bdaeb12d4e 100644 --- a/charts/prometheus-postgres-exporter/Chart.yaml +++ b/charts/prometheus-postgres-exporter/Chart.yaml @@ -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 diff --git a/charts/prometheus-postgres-exporter/templates/deployment.yaml b/charts/prometheus-postgres-exporter/templates/deployment.yaml index d0b299be60a9..fa8a590a0c8c 100644 --- a/charts/prometheus-postgres-exporter/templates/deployment.yaml +++ b/charts/prometheus-postgres-exporter/templates/deployment.yaml @@ -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"