fix ldap env for ha mode
@@ -282,11 +282,6 @@ https://{{- required "host is required" .Values.host -}}:{{- .Values.port -}}
{{ end }}
{{ define "env_ldap" }}
-{{ if ne .Values.cluster.name "master" }}
--
- name: INFRABOX_ACCOUNT_LDAP_ENABLED
- value: "false"
-{{ else }}
-
name: INFRABOX_ACCOUNT_LDAP_ENABLED
value: {{ .Values.account.ldap.enabled | quote }}
@@ -311,7 +306,6 @@ https://{{- required "host is required" .Values.host -}}:{{- .Values.port -}}
key: password
{{ end }}
{{ end }}
-{{ end }}
{{ define "env_github_secrets" }}
