Keny Villela
2 years ago
2 changed files with 23 additions and 0 deletions
@ -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 }} |
@ -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…
Reference in new issue