diff --git a/charts/trino/templates/configmap-coordinator.yaml b/charts/trino/templates/configmap-coordinator.yaml index f7c5ea40..d5a09a76 100644 --- a/charts/trino/templates/configmap-coordinator.yaml +++ b/charts/trino/templates/configmap-coordinator.yaml @@ -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: |