diff --git a/charts/pulsar/templates/broker-configmap.yaml b/charts/pulsar/templates/broker-configmap.yaml index b67e5a8..10077d4 100644 --- a/charts/pulsar/templates/broker-configmap.yaml +++ b/charts/pulsar/templates/broker-configmap.yaml @@ -110,7 +110,7 @@ data: authenticationEnabled: "true" {{- if .Values.auth.authorization.enabled }} authorizationEnabled: "true" - superUserRoles: {{ .Values.auth.superUsers | values | join "," }} + superUserRoles: {{ .Values.auth.superUsers | values | sortAlpha | join "," }} {{- end }} {{- if eq .Values.auth.authentication.provider "jwt" }} # token authentication configuration diff --git a/charts/pulsar/templates/proxy-configmap.yaml b/charts/pulsar/templates/proxy-configmap.yaml index 66ea48d..71a7eff 100644 --- a/charts/pulsar/templates/proxy-configmap.yaml +++ b/charts/pulsar/templates/proxy-configmap.yaml @@ -64,7 +64,7 @@ data: # disable authorization on proxy and forward authorization credentials to broker authorizationEnabled: "false" forwardAuthorizationCredentials: "true" - superUserRoles: {{ .Values.auth.superUsers | values | join "," }} + superUserRoles: {{ .Values.auth.superUsers | values | sortAlpha | join "," }} {{- end }} {{- if eq .Values.auth.authentication.provider "jwt" }} # token authentication configuration