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:
name: sigi-auth-ldap-key
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:
# - mountPath: /var/interlegis/sigi/data
# name: data

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

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

Loading…
Cancel
Save