diff --git a/resources/kiali/templates/kyma-additions/auth-proxy-secret.yaml b/resources/kiali/templates/kyma-additions/auth-proxy-secret.yaml index cbc059736078..96e7853b23bb 100644 --- a/resources/kiali/templates/kyma-additions/auth-proxy-secret.yaml +++ b/resources/kiali/templates/kyma-additions/auth-proxy-secret.yaml @@ -16,7 +16,7 @@ data: {{- end }} OAUTH2_PROXY_SSL_INSECURE_SKIP_VERIFY: {{ not .Values.authProxy.config.tlsVerify | toString | b64enc | quote }} {{- if .Values.authProxy.config.useKymaGroups }} - OAUTH2_PROXY_ALLOWED_GROUPS: {{ template "kiali.authProxy.kymaGroups" . | b64enc | quote }} + OAUTH2_PROXY_ALLOWED_GROUPS: {{ template "kiali.kyma.authProxy.kymaGroups" . | b64enc | quote }} {{- else if .Values.authProxy.config.groups }} OAUTH2_PROXY_ALLOWED_GROUPS: {{ .Values.authProxy.config.groups | b64enc | quote }} {{- end }} diff --git a/resources/tracing/templates/_helpers.tpl b/resources/tracing/templates/_helpers.tpl index 139fcc05641c..1b9eef93ab28 100644 --- a/resources/tracing/templates/_helpers.tpl +++ b/resources/tracing/templates/_helpers.tpl @@ -59,7 +59,7 @@ Create chart name and version as used by the chart label. {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- end -}} -{{- define "jaeger-operator.authProxy.kymaGroups" -}} +{{- define "jaeger-operator.kyma.authProxy.kymaGroups" -}} {{- printf "%s,%s,%s,%s" .Values.global.kymaRuntime.adminGroup .Values.global.kymaRuntime.operatorGroup .Values.global.kymaRuntime.developerGroup .Values.global.kymaRuntime.namespaceAdminGroup -}} {{- end -}} diff --git a/resources/tracing/templates/kyma-additions/auth-proxy-secret.yaml b/resources/tracing/templates/kyma-additions/auth-proxy-secret.yaml index fb8ac3fcca6b..f1f23b87d75f 100644 --- a/resources/tracing/templates/kyma-additions/auth-proxy-secret.yaml +++ b/resources/tracing/templates/kyma-additions/auth-proxy-secret.yaml @@ -15,7 +15,7 @@ data: {{- end }} OAUTH2_PROXY_SSL_INSECURE_SKIP_VERIFY: {{ not .Values.authProxy.config.tlsVerify | toString | b64enc | quote }} {{- if .Values.authProxy.config.useKymaGroups }} - OAUTH2_PROXY_ALLOWED_GROUPS: {{ template "jaeger-operator.authProxy.kymaGroups" . | b64enc | quote }} + OAUTH2_PROXY_ALLOWED_GROUPS: {{ template "jaeger-operator.kyma.authProxy.kymaGroups" . | b64enc | quote }} {{- else if .Values.authProxy.config.groups }} OAUTH2_PROXY_ALLOWED_GROUPS: {{ .Values.authProxy.config.groups | b64enc | quote }} {{- end }}