From 2117df879d69e2136456a2bb1ddfc46fa04ba5f3 Mon Sep 17 00:00:00 2001 From: Huw Ayling-Miller Date: Thu, 7 Mar 2024 16:23:57 +0000 Subject: [PATCH] Allow groups to be used with a custom group-provider.properties --- charts/trino/templates/configmap-coordinator.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/trino/templates/configmap-coordinator.yaml b/charts/trino/templates/configmap-coordinator.yaml index bb8680e5..ba88283e 100644 --- a/charts/trino/templates/configmap-coordinator.yaml +++ b/charts/trino/templates/configmap-coordinator.yaml @@ -104,14 +104,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: |