Skip to content

Commit

Permalink
Only create secret if auth.passwordAuth is set
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan0x44 authored and mosabua committed Nov 23, 2023
1 parent 2fff599 commit 7beaf33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/trino/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if eq .Values.server.config.authenticationType "PASSWORD" }}
{{- if .Values.auth.passwordAuth -}}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -11,3 +12,4 @@ data:
group.db: {{ .Values.auth.groups | b64enc }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 7beaf33

Please sign in to comment.