diff --git a/charts/trino/templates/configmap-coordinator.yaml b/charts/trino/templates/configmap-coordinator.yaml index 525bf7e1..c3208df9 100644 --- a/charts/trino/templates/configmap-coordinator.yaml +++ b/charts/trino/templates/configmap-coordinator.yaml @@ -79,7 +79,7 @@ data: {{- if .Values.server.coordinatorExtraConfig }} {{- .Values.server.coordinatorExtraConfig | nindent 4 }} {{- end }} - +{{- if .Values.accessControl }} {{- if eq .Values.accessControl.type "configmap" }} access-control.properties: | access-control.name=file @@ -97,6 +97,7 @@ data: {{- else}} {{- fail "Invalid accessControl.type value. It must be either 'configmap' or 'properties'." }} {{- end }} +{{- end }} {{- if .Values.resourceGroups }} resource-groups.properties: |