mirror of
https://github.com/rancher/types.git
synced 2025-08-02 05:11:59 +00:00
No edit for resource quota template
This commit is contained in:
parent
71c487755a
commit
1ccee88c0b
@ -594,5 +594,7 @@ func composeType(schemas *types.Schemas) *types.Schemas {
|
||||
|
||||
func resourceQuotaTemplateTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return schemas.
|
||||
MustImport(&Version, v3.ResourceQuotaTemplate{})
|
||||
MustImportAndCustomize(&Version, v3.ResourceQuotaTemplate{}, func(schema *types.Schema) {
|
||||
schema.ResourceMethods = []string{http.MethodGet, http.MethodDelete}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user