diff --git a/charts/prometheus-postgres-exporter/Chart.yaml b/charts/prometheus-postgres-exporter/Chart.yaml index 013dcb32..aeedd330 100644 --- a/charts/prometheus-postgres-exporter/Chart.yaml +++ b/charts/prometheus-postgres-exporter/Chart.yaml @@ -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.2 +version: 2.3.3 home: https://github.com/prometheus-community/postgres_exporter sources: - https://github.com/prometheus-community/postgres_exporter diff --git a/charts/prometheus-postgres-exporter/templates/secrets.yaml b/charts/prometheus-postgres-exporter/templates/secrets.yaml index f2e10775..bd63eb92 100644 --- a/charts/prometheus-postgres-exporter/templates/secrets.yaml +++ b/charts/prometheus-postgres-exporter/templates/secrets.yaml @@ -1,4 +1,4 @@ -{{- if not .Values.config.datasource.passwordSecret -}} +{{- if not (or .Values.config.datasource.passwordSecret .Values.config.datasourceSecret) -}} apiVersion: v1 kind: Secret metadata: