Browse Source

testing corretion 2

master
Keny Villela 2 years ago
parent
commit
ee158ad300
  1. 4
      charts/sigi/v0/questions.yaml
  2. 60
      charts/sigi/v0/templates/deployment.yaml
  3. 9
      charts/sigi/v0/values.yaml

4
charts/sigi/v0/questions.yaml

@ -2,10 +2,12 @@ labels:
io.cattle.role: project io.cattle.role: project
categories: categories:
- Gerencial - Gerencial
questions: questions:
# Informações Básicas # Informações Básicas
- variable: sigi.hostname - variable: sigi.hostname
default: {{ include "sigi.fullname" . }} .interlegis.leg.br default: sigidsv.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

9
charts/sigi/v0/values.yaml

@ -65,8 +65,13 @@ 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:
profileAttrMap: '{"nome_completo": "cn"}' first_name: "givenName"
last_name: "sn"
email: "userPrincipalName"
is_staff: "cn"
profileAttrMap:
nome_completo: "cn"
findGroupPerms: True findGroupPerms: True
mirrorGroups: True mirrorGroups: True
cacheGroups: True cacheGroups: True

Loading…
Cancel
Save