diff --git a/charts/trino/templates/secret.yaml b/charts/trino/templates/secret.yaml index 4c072f8c..95064798 100644 --- a/charts/trino/templates/secret.yaml +++ b/charts/trino/templates/secret.yaml @@ -1,4 +1,5 @@ {{- if eq .Values.server.config.authenticationType "PASSWORD" }} +{{- if .Values.auth.passwordAuth -}} apiVersion: v1 kind: Secret metadata: @@ -11,3 +12,4 @@ data: group.db: {{ .Values.auth.groups | b64enc }} {{- end }} {{- end }} +{{- end }}