From 14aa059c633825c2bd208054870603b390aee694 Mon Sep 17 00:00:00 2001 From: chavacava Date: Sat, 8 Oct 2022 08:21:57 +0200 Subject: [PATCH] fix #5267 by renaming yaml struct tag (#5268) Signed-off-by: chavacava Signed-off-by: chavacava --- pkg/apiserver/authentication/identityprovider/ldap/ldap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apiserver/authentication/identityprovider/ldap/ldap.go b/pkg/apiserver/authentication/identityprovider/ldap/ldap.go index b0d8f37b1..bad0e95f1 100644 --- a/pkg/apiserver/authentication/identityprovider/ldap/ldap.go +++ b/pkg/apiserver/authentication/identityprovider/ldap/ldap.go @@ -45,7 +45,7 @@ func init() { type ldapProvider struct { // Host and optional port of the LDAP server in the form "host:port". // If the port is not supplied, 389 for insecure or StartTLS connections, 636 - Host string `json:"host,omitempty" yaml:"managerDN"` + Host string `json:"host,omitempty" yaml:"host"` // Timeout duration when reading data from remote server. Default to 15s. ReadTimeout int `json:"readTimeout" yaml:"readTimeout"` // If specified, connections will use the ldaps:// protocol