|
@ -6,8 +6,4 @@ metadata: |
|
|
{{- include "sigi.labels" . | nindent 4 }} |
|
|
{{- include "sigi.labels" . | nindent 4 }} |
|
|
type: Opaque |
|
|
type: Opaque |
|
|
data: |
|
|
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 }} |
|
|
AUTH_LDAP_BIND_PASSWORD: {{ .Values.sigi.auth.ldap.bindPwd | b64enc }} |
|
|
{{ end }} |
|
|
|
|
|