Skip to content

Commit

Permalink
don't apply secret when using existing (prometheus-community#992)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Cole <[email protected]>

Co-authored-by: André Bauer <[email protected]>
  • Loading branch information
jonathan-mothership and monotek authored May 21, 2021
1 parent 1935b57 commit 256eee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.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
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-postgres-exporter/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 256eee9

Please sign in to comment.