From e694c45a0b3b2be69d9fb5572a84c53fbd6305f8 Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Tue, 25 Apr 2023 18:21:26 -0300 Subject: [PATCH] excluded config maps dependency --- charts/sigi/v0.2.x/templates/deployment.yaml | 10 +++------- charts/sigi/v0.2.x/values.yaml | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/charts/sigi/v0.2.x/templates/deployment.yaml b/charts/sigi/v0.2.x/templates/deployment.yaml index 77f9086..874a085 100755 --- a/charts/sigi/v0.2.x/templates/deployment.yaml +++ b/charts/sigi/v0.2.x/templates/deployment.yaml @@ -60,10 +60,10 @@ spec: - name: AUTH_LDAP_USER value: "{{ .Values.sigi.auth.ldap.user }}" - name: AUTH_LDAP_BIND_PASSWORD - valueFrom: + valueFrom: # Secret Key - secretKeyRef: - name: sigi-auth-ldap-key + secretKeyRef: + name: {{ include "sigi.fullname" . }}-auth-ldap-key key: AUTH_LDAP_BIND_PASSWORD - name: AUTH_LDAP_USER_SEARCH_STRING value: "{{ .Values.sigi.auth.ldap.userSearchString }}" @@ -83,10 +83,6 @@ spec: value: "{{ .Values.sigi.auth.ldap.cacheGroups }}" - name: AUTH_LDAP_GROUP_CACHE_TIMEOUT value: "{{ .Values.sigi.auth.ldap.groupCacheTimeout }}" - - name: AUTH_LDAP_PROFILE_ATTR_MAP - value: "{{ .Values.sigi.auth.ldap.profileAttrMap }}" - - name: AUTH_PROFILE_MODULE - value: "{{ .Values.sigi.auth.profileModule }}" - name: MOODLE_BASE_URL value: "{{ .Values.sigi.saberes.moodleUrl }}" - name: MOODLE_API_TOKEN diff --git a/charts/sigi/v0.2.x/values.yaml b/charts/sigi/v0.2.x/values.yaml index a8f4e81..60abd35 100755 --- a/charts/sigi/v0.2.x/values.yaml +++ b/charts/sigi/v0.2.x/values.yaml @@ -63,7 +63,7 @@ sigi: bindPwd: 'RgtJdtvas7s4BSpjnVnR' user: 'U=UsuariosPessoas,DC=senado,DC=gov,DC=br' userSearchString: '(&(sAMAccountName=%(user)s)(department=*ILB*)(!(title=*Desligad*))(!(title=*inativ*)))' - userAttrMap: '{"first_name": "givenName", "last_name": "sn", "email": "userPrincipalName", }' + userAttrMap: {"first_name": "givenName", "last_name": "sn", "email": "userPrincipalName", } group: '' groupSearchString: '' groupTypeString: ''