diff --git a/charts/sigi/v0/questions.yaml b/charts/sigi/v0/questions.yaml index 5c604dc..9d99910 100644 --- a/charts/sigi/v0/questions.yaml +++ b/charts/sigi/v0/questions.yaml @@ -2,10 +2,12 @@ labels: io.cattle.role: project categories: - Gerencial + questions: + # Informações Básicas - variable: sigi.hostname - default: {{ include "sigi.fullname" . }} .interlegis.leg.br + default: sigidsv.interlegis.leg.br description: "Endereço para acesso ao SIGI" label: "URL do SIGI" type: string diff --git a/charts/sigi/v0/templates/deployment.yaml b/charts/sigi/v0/templates/deployment.yaml index 043e31f..b4e0f1b 100644 --- a/charts/sigi/v0/templates/deployment.yaml +++ b/charts/sigi/v0/templates/deployment.yaml @@ -51,36 +51,36 @@ spec: value: "{{ .Values.sigi.emailHost }}" - name: DEFAULT_FROM_EMAIL value: "{{ .Values.sigi.defaultFromEmail }}" -# - name: AUTH_LDAP_SERVER_URI -# value: "{{ .Values.sigi.auth.ldap.serverURI }}" -# - name: AUTH_LDAP_BIND_DN -# value: "{{ .Values.sigi.auth.ldap.bindDN }}" -# - name: AUTH_LDAP_BIND_PASSWORD -# value: "{{ .Values.sigi.auth.ldap.bindPwd }}" -# - name: AUTH_LDAP_USER -# value: "{{ .Values.sigi.auth.ldap.user }}" -# - name: AUTH_LDAP_USER_SEARCH_STRING -# value: "{{ .Values.sigi.auth.ldap.userSearchString }}" -# - name: AUTH_LDAP_GROUP -# value: "{{ .Values.sigi.auth.ldap.group }}" -# - name: AUTH_LDAP_GROUP_SEARCH_STRING -# value: "{{ .Values.sigi.auth.ldap.groupSearchString }}" -# - name: AUTH_LDAP_GROUP_TYPE_STRING -# value: "{{ .Values.sigi.auth.ldap.groupTypeString }}" -# - name: AUTH_LDAP_USER_ATTR_MAP -# value: "{{ .Values.sigi.auth.ldap.userAttrMap }}" -# - name: AUTH_LDAP_PROFILE_ATTR_MAP -# value: "{{ .Values.sigi.auth.ldap.profileAttrMap }}" -# - name: AUTH_LDAP_FIND_GROUP_PERMS -# value: "{{ .Values.sigi.auth.ldap.findGroupPerms }}" -# - name: AUTH_LDAP_MIRROR_GROUPS -# value: "{{ .Values.sigi.auth.ldap.mirrorGroups }}" -# - name: AUTH_LDAP_CACHE_GROUPS -# value: "{{ .Values.sigi.auth.ldap.cacheGroups }}" -# - name: AUTH_LDAP_GROUP_CACHE_TIMEOUT -# value: "{{ .Values.sigi.auth.ldap.groupCacheTimeout }}" -# - name: AUTH_PROFILE_MODULE -# value: "{{ .Values.sigi.auth.profileModule }}" + - name: AUTH_LDAP_SERVER_URI + value: "{{ .Values.sigi.auth.ldap.serverURI }}" + - name: AUTH_LDAP_BIND_DN + value: "{{ .Values.sigi.auth.ldap.bindDN }}" + - name: AUTH_LDAP_BIND_PASSWORD + value: "{{ .Values.sigi.auth.ldap.bindPwd }}" + - name: AUTH_LDAP_USER + value: "{{ .Values.sigi.auth.ldap.user }}" + - name: AUTH_LDAP_USER_SEARCH_STRING + value: "{{ .Values.sigi.auth.ldap.userSearchString }}" + - name: AUTH_LDAP_GROUP + value: "{{ .Values.sigi.auth.ldap.group }}" + - name: AUTH_LDAP_GROUP_SEARCH_STRING + value: "{{ .Values.sigi.auth.ldap.groupSearchString }}" + - name: AUTH_LDAP_GROUP_TYPE_STRING + value: "{{ .Values.sigi.auth.ldap.groupTypeString }}" + - name: AUTH_LDAP_USER_ATTR_MAP + value: "{{ .Values.sigi.auth.ldap.userAttrMap }}" + - name: AUTH_LDAP_PROFILE_ATTR_MAP + value: "{{ .Values.sigi.auth.ldap.profileAttrMap }}" + - name: AUTH_LDAP_FIND_GROUP_PERMS + value: "{{ .Values.sigi.auth.ldap.findGroupPerms }}" + - name: AUTH_LDAP_MIRROR_GROUPS + value: "{{ .Values.sigi.auth.ldap.mirrorGroups }}" + - name: AUTH_LDAP_CACHE_GROUPS + value: "{{ .Values.sigi.auth.ldap.cacheGroups }}" + - name: AUTH_LDAP_GROUP_CACHE_TIMEOUT + value: "{{ .Values.sigi.auth.ldap.groupCacheTimeout }}" + - name: AUTH_PROFILE_MODULE + value: "{{ .Values.sigi.auth.profileModule }}" volumeMounts: # - mountPath: /var/interlegis/sigi/data # name: data diff --git a/charts/sigi/v0/values.yaml b/charts/sigi/v0/values.yaml index 854085c..f68282d 100644 --- a/charts/sigi/v0/values.yaml +++ b/charts/sigi/v0/values.yaml @@ -65,8 +65,13 @@ sigi: group: 'OU=GruposAutomaticosOU,DC=senado,DC=gov,DC=br' groupSearchString: '(objectClass=Group)' groupTypeString: 'cn' - userAttrMap: '{"first_name": "givenName", "last_name": "sn", "email": "userPrincipalName", "is_staff": "cn",}' - profileAttrMap: '{"nome_completo": "cn"}' + userAttrMap: + first_name: "givenName" + last_name: "sn" + email: "userPrincipalName" + is_staff: "cn" + profileAttrMap: + nome_completo: "cn" findGroupPerms: True mirrorGroups: True cacheGroups: True