From 55ce86fa4a229e67c375b354ba88191a8071ca5d Mon Sep 17 00:00:00 2001 From: Egor I <8607348+cheshi-mantu@users.noreply.github.com> Date: Thu, 19 Oct 2023 13:53:51 +0300 Subject: [PATCH] SAML syncRoles Signed-off-by: Egor I <8607348+cheshi-mantu@users.noreply.github.com> --- charts/allure-testops/templates/allure/uaa-dep.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/allure-testops/templates/allure/uaa-dep.yaml b/charts/allure-testops/templates/allure/uaa-dep.yaml index 91eed3a..a53729c 100644 --- a/charts/allure-testops/templates/allure/uaa-dep.yaml +++ b/charts/allure-testops/templates/allure/uaa-dep.yaml @@ -191,10 +191,9 @@ spec: value: {{ .Values.allure.auth.saml.lastNameAttribute }} - name: {{ .Values.build }}_LOGIN_SAML2_EMAILATTRIBUTE value: {{ .Values.allure.auth.saml.emailAttribute }} -{{- end }} -{{- if .Values.allure.auth.saml.syncRoles }} - name: {{ .Values.build }}_LOGIN_SAML2_SYNCROLES value: "{{ .Values.allure.auth.saml.syncRoles }}" +{{- if .Values.allure.auth.saml.syncRoles }} - name: {{ .Values.build }}_LOGIN_SAML2_GROUPROLEATTRIBUTE value: {{ .Values.allure.auth.saml.groups.groupRoleAttribute }} - name: {{ .Values.build }}_LOGIN_SAML2_GROUPAUTHORITIES_ROLEUSERGROUPS @@ -202,6 +201,7 @@ spec: - name: {{ .Values.build }}_LOGIN_SAML2_GROUPAUTHORITIES_ROLEADMINGROUPS value: "{{ .Values.allure.auth.saml.groups.roleAdminGroups }}" {{- end }} +{{- end }} {{- if .Values.smtp.enabled }} - name: SPRING_MAIL_HOST value: {{ .Values.smtp.host }}