Browse Source

Saberes env vars included

master
Keny Villela 2 years ago
parent
commit
7df9be962b
  1. 11
      charts/sigi/v0.2.3/templates/deployment.yaml
  2. 4
      charts/sigi/v0.2.3/values.yaml

11
charts/sigi/v0.2.3/templates/deployment.yaml

@ -141,6 +141,17 @@ spec:
secretKeyRef: secretKeyRef:
name: sigi-auth-ldap-key name: sigi-auth-ldap-key
key: AUTH_LDAP_BIND_PASSWORD key: AUTH_LDAP_BIND_PASSWORD
- name: MOODLE_BASE_URL
valueFrom:
configMapKeyRef:
name: sigi-saberes-url
key: MOODLE_BASE_URL
- name: MOODLE_API_TOKEN
valueFrom:
# Secret Key
secretKeyRef:
name: sigi-saberes-tkn
key: MOODLE_API_TOKEN
volumeMounts: volumeMounts:
# - mountPath: /var/interlegis/sigi/data # - mountPath: /var/interlegis/sigi/data
# name: data # name: data

4
charts/sigi/v0.2.3/values.yaml

@ -71,6 +71,10 @@ sigi:
groupCacheTimeout: 3600 groupCacheTimeout: 3600
profileModule: 'servidores.Servidor' profileModule: 'servidores.Servidor'
saberes:
moodleURL: 'https://saberes.senado.leg.br'
moodleToken: ''
ingress: ingress:
enabled: true enabled: true
class: nginx class: nginx

Loading…
Cancel
Save