Browse Source

SIGI helm v0.1.4 test

master
Keny Villela 2 years ago
parent
commit
2a8e465e30
  1. 2
      charts/sigi/v0/Chart.yaml
  2. 16
      charts/sigi/v0/questions.yaml
  3. 10
      charts/sigi/v0/templates/deployment.yaml
  4. 4
      charts/sigi/v0/values.yaml

2
charts/sigi/v0/Chart.yaml

@ -8,7 +8,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.3 version: 0.1.4
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

16
charts/sigi/v0/questions.yaml

@ -14,22 +14,6 @@ questions:
group: Básico group: Básico
required: true required: true
# Informações Autenticação
- variable: sigi.auth.ldap.userAttrMap
default: {"first_name": "givenName", "last_name": "sn", "email": "userPrincipalName", 'is_staff': "cn",}
description: "Mapa atributos usuário LDAP"
label: Mapa atributos usuário LDAP"
type: string
group: Autenticação
required: true
- variable: sigi.auth.ldap.profileAttrMap
default: {"nome_completo": "cn"}
description: "Mapa de atributos profile LDAP"
label: Mapa atributos profile LDAP"
type: string
group: Autenticação
required: true
# Ingress # Ingress
- variable: ingress.tls.enabled - variable: ingress.tls.enabled

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

@ -68,9 +68,15 @@ spec:
- 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 }}" valueFrom:
configMapKeyRef:
name: auth-ldap
key: AUTH_LDAP_USER_ATTR_MAP
- name: AUTH_LDAP_PROFILE_ATTR_MAP - name: AUTH_LDAP_PROFILE_ATTR_MAP
value: "{{ .Values.sigi.auth.ldap.profileAttrMap }}" valueFrom:
configMapKeyRef:
name: auth-ldap
key: AUTH_LDAP_PROFILE_ATTR_MAP
- 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

4
charts/sigi/v0/values.yaml

@ -65,10 +65,6 @@ 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"}
profileAttrMap: ''
findGroupPerms: True findGroupPerms: True
mirrorGroups: True mirrorGroups: True
cacheGroups: True cacheGroups: True

Loading…
Cancel
Save