diff --git a/charts/sigi/v0.2.3/templates/deployment.yaml b/charts/sigi/v0.2.3/templates/deployment.yaml index 9f1cfa1..0b11d90 100644 --- a/charts/sigi/v0.2.3/templates/deployment.yaml +++ b/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 diff --git a/charts/sigi/v0.2.3/values.yaml b/charts/sigi/v0.2.3/values.yaml index cbf9c38..bc4a7e3 100644 --- a/charts/sigi/v0.2.3/values.yaml +++ b/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