Skip to content

Commit

Permalink
Fix breakage from trinodb#108 when passwords are managed in an extern…
Browse files Browse the repository at this point in the history
…al secret
  • Loading branch information
huw0 committed Mar 29, 2024
1 parent 5720e83 commit df9b2e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/trino/templates/deployment-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
configMap:
name: trino-resource-groups-volume-coordinator
{{- end }}
{{- if or .Values.auth.passwordAuth .Values.auth.groups }}
{{- if or .Values.auth.passwordAuth .Values.auth.passwordAuthSecret .Values.auth.groups }}
- name: file-authentication-volume
secret:
{{- if and .Values.auth .Values.auth.passwordAuthSecret }}
Expand All @@ -73,11 +73,11 @@ spec:
secretName: trino-file-authentication
{{- end }}
items:
{{- if .Values.auth.passwordAuth }}
{{- if or .Values.auth.passwordAuth .Values.auth.passwordAuthSecret }}
- key: password.db
path: password.db
{{- end }}
{{- if .Values.auth.groups }}
{{- if or .Values.auth.groups .Values.auth.passwordAuthSecret }}
- key: group.db
path: group.db
{{- end }}
Expand Down Expand Up @@ -132,7 +132,7 @@ spec:
- name: {{ .name }}
mountPath: {{ .path }}
{{- end }}
{{- if or .Values.auth.passwordAuth .Values.auth.groups }}
{{- if or .Values.auth.passwordAuth .Values.auth.passwordAuthSecret .Values.auth.groups }}
- mountPath: {{ .Values.server.config.path }}/auth
name: file-authentication-volume
{{- end }}
Expand Down

0 comments on commit df9b2e4

Please sign in to comment.