From 6c35a3b3e51fa5014a5f788e41b773d2469980e4 Mon Sep 17 00:00:00 2001 From: carolyn Date: Mon, 25 Jun 2018 15:27:32 -0700 Subject: [PATCH] enable openldap/freeipa configs --- 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 8691b6af..bcc1d259 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{} + schema.ResourceMethods = []string{http.MethodGet, http.MethodPut} }). MustImport(&Version, v3.OpenLdapTestAndApplyInput{}). // FreeIpa Config @@ -380,7 +380,7 @@ func authnTypes(schemas *types.Schemas) *types.Schemas { }, } schema.CollectionMethods = []string{} - schema.ResourceMethods = []string{} + schema.ResourceMethods = []string{http.MethodGet, http.MethodPut} schema.MustCustomizeField("groupObjectClass", func(f types.Field) types.Field { f.Default = "groupofnames" return f