Skip to content

Commit

Permalink
Fix breakage from #108 - password.db is needed when passwordAuthSecre…
Browse files Browse the repository at this point in the history
…t is set
  • Loading branch information
huw0 authored and losipiuk committed Apr 3, 2024
1 parent 5720e83 commit 3d4268c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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,7 +73,7 @@ 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 }}
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 3d4268c

Please sign in to comment.