Browse Source

testing corretion

master
Keny Villela 2 years ago
parent
commit
6030bcde2a
  1. 2
      charts/sigi/v0/questions.yaml
  2. 60
      charts/sigi/v0/templates/deployment.yaml
  3. 8
      charts/sigi/v0/values.yaml

2
charts/sigi/v0/questions.yaml

@ -5,7 +5,7 @@ categories:
questions: questions:
# Informações Básicas # Informações Básicas
- variable: sigi.hostname - variable: sigi.hostname
default: {{ include "sigi.fullname" . }}.interlegis.leg.br default: {{ include "sigi.fullname" . }} .interlegis.leg.br
description: "Endereço para acesso ao SIGI" description: "Endereço para acesso ao SIGI"
label: "URL do SIGI" label: "URL do SIGI"
type: string type: string

60
charts/sigi/v0/templates/deployment.yaml

@ -51,36 +51,36 @@ spec:
value: "{{ .Values.sigi.emailHost }}" value: "{{ .Values.sigi.emailHost }}"
- name: DEFAULT_FROM_EMAIL - name: DEFAULT_FROM_EMAIL
value: "{{ .Values.sigi.defaultFromEmail }}" value: "{{ .Values.sigi.defaultFromEmail }}"
- name: AUTH_LDAP_SERVER_URI # - name: AUTH_LDAP_SERVER_URI
value: "{{ .Values.sigi.auth.ldap.serverURI }}" # value: "{{ .Values.sigi.auth.ldap.serverURI }}"
- name: AUTH_LDAP_BIND_DN # - name: AUTH_LDAP_BIND_DN
value: "{{ .Values.sigi.auth.ldap.bindDN }}" # value: "{{ .Values.sigi.auth.ldap.bindDN }}"
- name: AUTH_LDAP_BIND_PASSWORD # - name: AUTH_LDAP_BIND_PASSWORD
value: "{{ .Values.sigi.auth.ldap.bindPwd }}" # value: "{{ .Values.sigi.auth.ldap.bindPwd }}"
- name: AUTH_LDAP_USER # - name: AUTH_LDAP_USER
value: "{{ .Values.sigi.auth.ldap.user }}" # value: "{{ .Values.sigi.auth.ldap.user }}"
- name: AUTH_LDAP_USER_SEARCH_STRING # - name: AUTH_LDAP_USER_SEARCH_STRING
value: "{{ .Values.sigi.auth.ldap.userSearchString }}" # value: "{{ .Values.sigi.auth.ldap.userSearchString }}"
- name: AUTH_LDAP_GROUP # - name: AUTH_LDAP_GROUP
value: "{{ .Values.sigi.auth.ldap.group }}" # value: "{{ .Values.sigi.auth.ldap.group }}"
- name: AUTH_LDAP_GROUP_SEARCH_STRING # - name: AUTH_LDAP_GROUP_SEARCH_STRING
value: "{{ .Values.sigi.auth.ldap.groupSearchString }}" # value: "{{ .Values.sigi.auth.ldap.groupSearchString }}"
- name: AUTH_LDAP_GROUP_TYPE_STRING # - name: AUTH_LDAP_GROUP_TYPE_STRING
value: "{{ .Values.sigi.auth.ldap.groupTypeString }}" # value: "{{ .Values.sigi.auth.ldap.groupTypeString }}"
- name: AUTH_LDAP_USER_ATTR_MAP # - name: AUTH_LDAP_USER_ATTR_MAP
value: "{{ .Values.sigi.auth.ldap.userAttrMap }}" # value: "{{ .Values.sigi.auth.ldap.userAttrMap }}"
- name: AUTH_LDAP_PROFILE_ATTR_MAP # - name: AUTH_LDAP_PROFILE_ATTR_MAP
value: "{{ .Values.sigi.auth.ldap.profileAttrMap }}" # value: "{{ .Values.sigi.auth.ldap.profileAttrMap }}"
- name: AUTH_LDAP_FIND_GROUP_PERMS # - name: AUTH_LDAP_FIND_GROUP_PERMS
value: "{{ .Values.sigi.auth.ldap.findGroupPerms }}" # value: "{{ .Values.sigi.auth.ldap.findGroupPerms }}"
- name: AUTH_LDAP_MIRROR_GROUPS # - name: AUTH_LDAP_MIRROR_GROUPS
value: "{{ .Values.sigi.auth.ldap.mirrorGroups }}" # value: "{{ .Values.sigi.auth.ldap.mirrorGroups }}"
- name: AUTH_LDAP_CACHE_GROUPS # - name: AUTH_LDAP_CACHE_GROUPS
value: "{{ .Values.sigi.auth.ldap.cacheGroups }}" # value: "{{ .Values.sigi.auth.ldap.cacheGroups }}"
- name: AUTH_LDAP_GROUP_CACHE_TIMEOUT # - name: AUTH_LDAP_GROUP_CACHE_TIMEOUT
value: "{{ .Values.sigi.auth.ldap.groupCacheTimeout }}" # value: "{{ .Values.sigi.auth.ldap.groupCacheTimeout }}"
- name: AUTH_PROFILE_MODULE # - name: AUTH_PROFILE_MODULE
value: "{{ .Values.sigi.auth.profileModule }}" # value: "{{ .Values.sigi.auth.profileModule }}"
volumeMounts: volumeMounts:
# - mountPath: /var/interlegis/sigi/data # - mountPath: /var/interlegis/sigi/data
# name: data # name: data

8
charts/sigi/v0/values.yaml

@ -53,8 +53,8 @@ sigi:
timeZone: 'America/Sao_Paulo' timeZone: 'America/Sao_Paulo'
language: 'pt_BR.UTF-8' language: 'pt_BR.UTF-8'
emailPort: 25 emailPort: 25
emailHost: smtp.interlegis.leg.br emailHost: 'smtp.interlegis.leg.br'
defaultFromEmail: sigi@interlegis.leg.br defaultFromEmail: 'sigi@interlegis.leg.br'
auth: auth:
ldap: ldap:
serverURI: 'ldap://ad.senado.gov.br' serverURI: 'ldap://ad.senado.gov.br'
@ -65,8 +65,8 @@ sigi:
group: 'OU=GruposAutomaticosOU,DC=senado,DC=gov,DC=br' group: 'OU=GruposAutomaticosOU,DC=senado,DC=gov,DC=br'
groupSearchString: '(objectClass=Group)' groupSearchString: '(objectClass=Group)'
groupTypeString: 'cn' groupTypeString: 'cn'
userAttrMap: {"first_name": "givenName", "last_name": "sn", "email": "userPrincipalName", 'is_staff': "cn",} userAttrMap: '{"first_name": "givenName", "last_name": "sn", "email": "userPrincipalName", "is_staff": "cn",}'
profileAttrMap: {"nome_completo": "cn"} profileAttrMap: '{"nome_completo": "cn"}'
findGroupPerms: True findGroupPerms: True
mirrorGroups: True mirrorGroups: True
cacheGroups: True cacheGroups: True

Loading…
Cancel
Save