From 900bcd2918c1c9a2e92b12a37be0bbc32c4d1da6 Mon Sep 17 00:00:00 2001 From: Craig Jellick Date: Tue, 19 Jun 2018 22:08:08 -0700 Subject: [PATCH] Disable ldap providers --- apis/management.cattle.io/v3/schema/schema.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/management.cattle.io/v3/schema/schema.go b/apis/management.cattle.io/v3/schema/schema.go index bcc1d259..8691b6af 100644 --- a/apis/management.cattle.io/v3/schema/schema.go +++ b/apis/management.cattle.io/v3/schema/schema.go @@ -367,7 +367,7 @@ func authnTypes(schemas *types.Schemas) *types.Schemas { }, } schema.CollectionMethods = []string{} - schema.ResourceMethods = []string{http.MethodGet, http.MethodPut} + schema.ResourceMethods = []string{} }). MustImport(&Version, v3.OpenLdapTestAndApplyInput{}). // FreeIpa Config @@ -380,7 +380,7 @@ func authnTypes(schemas *types.Schemas) *types.Schemas { }, } schema.CollectionMethods = []string{} - schema.ResourceMethods = []string{http.MethodGet, http.MethodPut} + schema.ResourceMethods = []string{} schema.MustCustomizeField("groupObjectClass", func(f types.Field) types.Field { f.Default = "groupofnames" return f