Skip to content

Commit

Permalink
fix: don't show password warning if the component is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
echozio committed Feb 7, 2024
1 parent 5c7e89c commit 9681bd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
WARNING: You are using the default password for {{ . }}.
{{ printf "\033[0m" -}}
{{- end }}
{{- if eq .Values.redis.auth.password "jitsu" }}
{{- if and .Values.redis.enabled (eq .Values.redis.auth.password "jitsu") }}
{{- $warned = true }}
{{- include "jitsu.warn-default-password" "Redis" }}
{{- end }}
{{- if eq .Values.postgresql.auth.password "jitsu" }}
{{- if and .Values.postgresql.enabled (eq .Values.postgresql.auth.password "jitsu") }}
{{- $warned = true }}
{{- include "jitsu.warn-default-password" "PostgreSQL" }}
{{- end }}
{{- if eq (index .Values.mongodb.auth.passwords 0) "jitsu" }}
{{- if and .Values.mongodb.enabled (eq (index .Values.mongodb.auth.passwords 0) "jitsu") }}
{{- $warned = true }}
{{- include "jitsu.warn-default-password" "MongoDB" }}
{{- end }}
Expand Down

0 comments on commit 9681bd5

Please sign in to comment.