Browse Source

correcting dependencies ++

master
Keny Villela 2 years ago
parent
commit
a0b09b251b
  1. 13
      charts/sigi/v0.2.3/templates/sigi-ldap-secret.yaml
  2. 10
      charts/sigi/v0.2.3/templates/sigi-saberes-token.yaml

13
charts/sigi/v0.2.3/templates/sigi-ldap-secret.yaml

@ -0,0 +1,13 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "sigi.fullname" . }}-auth-ldap-key
labels:
{{- include "sigi.labels" . | nindent 4 }}
type: Opaque
data:
{{- if .Release.IsUpgrade }}
AUTH_LDAP_BIND_PASSWORD: {{ index (lookup "v1" "Secret" .Release.Namespace sigi-auth-ldap-key).data "AUTH_LDAP_BIND_PASSWORD" }}
{{ else }} # install operation
AUTH_LDAP_BIND_PASSWORD: {{ .Values.sigi.auth.ldap.bindPwd | b64enc }}
{{ end }}

10
charts/sigi/v0.2.3/templates/sigi-saberes-token.yaml

@ -0,0 +1,10 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "sigi.fullname" . }}-saberes-tkn
labels:
{{- include "sigi.labels" . | nindent 4 }}
type: Opaque
data:
MOODLE_API_TOKEN: {{ .Values.sigi.saberes.moodleToken | b64enc }}
Loading…
Cancel
Save