|
|
@ -46,111 +46,54 @@ spec: |
|
|
|
- name: DATABASE_URL |
|
|
|
value: {{ printf "postgresql://%s:%s@%s:5432/%s" .Values.postgresql.auth.username .Values.postgresql.auth.password (include "postgresql.fullname" .) .Values.postgresql.auth.database| quote }} |
|
|
|
- name: ADMINS |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-email |
|
|
|
key: ADMINS |
|
|
|
value: "{{ .Values.sigi.emailAdmins }}" |
|
|
|
- name: EMAIL_PORT |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-email |
|
|
|
key: EMAIL_PORT |
|
|
|
value: "{{ .Values.sigi.emailPort }}" |
|
|
|
- name: EMAIL_HOST |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-email |
|
|
|
key: EMAIL_HOST |
|
|
|
value: "{{ .Values.sigi.emailHost }}" |
|
|
|
- name: DEFAULT_FROM_EMAIL |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-email |
|
|
|
key: DEFAULT_FROM_EMAIL |
|
|
|
value: "{{ .Values.sigi.defaultFromEmail }}" |
|
|
|
- name: AUTH_LDAP_SERVER_URI |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_SERVER_URI |
|
|
|
value: "{{ .Values.sigi.auth.ldap.serverURI }}" |
|
|
|
- name: AUTH_LDAP_BIND_DN |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_BIND_DN |
|
|
|
value: "{{ .Values.sigi.auth.ldap.bindDN }}" |
|
|
|
- name: AUTH_LDAP_USER |
|
|
|
value: "{{ .Values.sigi.auth.ldap.user }}" |
|
|
|
- name: AUTH_LDAP_BIND_PASSWORD |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_USER |
|
|
|
# Secret Key |
|
|
|
secretKeyRef: |
|
|
|
name: {{ include "sigi.fullname" . }}-auth-ldap-key |
|
|
|
key: AUTH_LDAP_BIND_PASSWORD |
|
|
|
- name: AUTH_LDAP_USER_SEARCH_STRING |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_USER_SEARCH_STRING |
|
|
|
value: "{{ .Values.sigi.auth.ldap.userSearchString }}" |
|
|
|
- name: AUTH_LDAP_USER_ATTR_MAP |
|
|
|
value: {{ .Values.sigi.auth.ldap.userAttrMap | quote }} |
|
|
|
- name: AUTH_LDAP_GROUP |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_GROUP |
|
|
|
value: "{{ .Values.sigi.auth.ldap.group }}" |
|
|
|
- name: AUTH_LDAP_GROUP_SEARCH_STRING |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_GROUP_SEARCH_STRING |
|
|
|
value: "{{ .Values.sigi.auth.ldap.groupSearchString }}" |
|
|
|
- name: AUTH_LDAP_GROUP_TYPE_STRING |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_GROUP_TYPE_STRING |
|
|
|
- name: AUTH_LDAP_USER_ATTR_MAP |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_USER_ATTR_MAP |
|
|
|
- name: AUTH_LDAP_PROFILE_ATTR_MAP |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_PROFILE_ATTR_MAP |
|
|
|
value: "{{ .Values.sigi.auth.ldap.groupTypeString }}" |
|
|
|
- name: AUTH_LDAP_FIND_GROUP_PERMS |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_FIND_GROUP_PERMS |
|
|
|
value: "{{ .Values.sigi.auth.ldap.findGroupPerms }}" |
|
|
|
- name: AUTH_LDAP_MIRROR_GROUPS |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_MIRROR_GROUPS |
|
|
|
value: "{{ .Values.sigi.auth.ldap.mirrorGroups }}" |
|
|
|
- name: AUTH_LDAP_CACHE_GROUPS |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_CACHE_GROUPS |
|
|
|
value: "{{ .Values.sigi.auth.ldap.cacheGroups }}" |
|
|
|
- name: AUTH_LDAP_GROUP_CACHE_TIMEOUT |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_LDAP_GROUP_CACHE_TIMEOUT |
|
|
|
value: "{{ .Values.sigi.auth.ldap.groupCacheTimeout }}" |
|
|
|
- name: AUTH_LDAP_PROFILE_ATTR_MAP |
|
|
|
value: {{ .Values.sigi.auth.ldap.profileAttrMap | quote }} |
|
|
|
- name: AUTH_PROFILE_MODULE |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-auth-ldap |
|
|
|
key: AUTH_PROFILE_MODULE |
|
|
|
- name: AUTH_LDAP_BIND_PASSWORD |
|
|
|
valueFrom: |
|
|
|
# Secret Key |
|
|
|
secretKeyRef: |
|
|
|
name: sigi-auth-ldap-key |
|
|
|
key: AUTH_LDAP_BIND_PASSWORD |
|
|
|
value: "{{ .Values.sigi.auth.profileModule }}" |
|
|
|
- name: MOODLE_BASE_URL |
|
|
|
valueFrom: |
|
|
|
configMapKeyRef: |
|
|
|
name: sigi-saberes-url |
|
|
|
key: MOODLE_BASE_URL |
|
|
|
value: "{{ .Values.sigi.saberes.moodleUrl }}" |
|
|
|
- name: MOODLE_API_TOKEN |
|
|
|
valueFrom: |
|
|
|
# Secret Key |
|
|
|
secretKeyRef: |
|
|
|
name: sigi-saberes-tkn |
|
|
|
name: {{ include "sigi.fullname" . }}-saberes-tkn |
|
|
|
key: MOODLE_API_TOKEN |
|
|
|
volumeMounts: |
|
|
|
# - mountPath: /var/interlegis/sigi/data |
|
|
|