You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
481 B
14 lines
481 B
2 years ago
|
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 }}
|