diff --git a/charts/sigi/v0.2.4/templates/sigi-ldap-secret.yaml b/charts/sigi/v0.2.4/templates/sigi-ldap-secret.yaml deleted file mode 100644 index a8881a8..0000000 --- a/charts/sigi/v0.2.4/templates/sigi-ldap-secret.yaml +++ /dev/null @@ -1,13 +0,0 @@ -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 (printf "%s-auth-ldap-key" (include "sigi.fullname" .))).data "AUTH_LDAP_BIND_PASSWORD" }} -{{ else }} # install operation - AUTH_LDAP_BIND_PASSWORD: {{ .Values.sigi.auth.ldap.bindPwd | b64enc }} -{{ end }} diff --git a/charts/sigi/v0.2.4/templates/sigi-saberes-token.yaml b/charts/sigi/v0.2.4/templates/sigi-saberes-token.yaml deleted file mode 100644 index 39c4ba7..0000000 --- a/charts/sigi/v0.2.4/templates/sigi-saberes-token.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: {{ include "sigi.fullname" . }}-saberes-tkn - labels: - {{- include "sigi.labels" . | nindent 4 }} -type: Opaque -data: -{{- if .Release.IsUpgrade }} - MOODLE_API_TOKEN: {{ index (lookup "v1" "Secret" .Release.Namespace (printf "%s-saberes-tkn" (include "sigi.fullname" .))).data "MOODLE_API_TOKEN" }} -{{ else }} # install operation - MOODLE_API_TOKEN: {{ .Values.sigi.saberes.moodleToken | b64enc }} -{{ end }}