Skip to content

Commit

Permalink
add condition to not create secret if database not buildin (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmi151 authored Sep 4, 2024
1 parent 209aa2f commit 6170e5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/database/database-georchestra-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.database.builtin -}}
{{- $database := .Values.database -}}
{{- if not $database.auth.existingSecret -}}
apiVersion: v1
Expand All @@ -18,3 +19,4 @@ data:
port: {{ $database.auth.port | b64enc | quote }}
user: {{ $database.auth.username | b64enc | quote }}
{{- end }}
{{- end }}

0 comments on commit 6170e5d

Please sign in to comment.