Skip to content

Commit

Permalink
Allow groups to be used with a custom group-provider.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
huw0 committed Mar 7, 2024
1 parent 6c6b65d commit e5261b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/trino/templates/configmap-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ data:
password-authenticator.name=file
file.password-file={{ .Values.server.config.path }}/auth/password.db
{{- end }}
{{- if .Values.auth.groups }}
{{- if .Values.auth.groups }}{{- if not (index .Values.coordinator.additionalConfigFiles "group-provider.properties") }}
group-provider.properties: |
group-provider.name=file
file.group-file={{ .Values.server.config.path }}/auth/group.db
{{- if .Values.auth.refreshPeriod }}
file.refresh-period={{ .Values.auth.refreshPeriod }}
{{- end }}
{{- end }}
{{- end }}{{- end }}

{{ if .Values.eventListenerProperties }}
event-listener.properties: |
Expand Down

0 comments on commit e5261b4

Please sign in to comment.