mirror of
https://github.com/rancher/types.git
synced 2025-07-19 15:56:26 +00:00
enable openldap/freeipa configs
This commit is contained in:
parent
e2ad869a98
commit
6c35a3b3e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user