Add verbs to thirdparty resources in discovery

This commit is contained in:
Dr. Stefan Schimanski
2017-01-04 09:51:40 +01:00
parent 2bad7e6be1
commit b76958d75a
2 changed files with 65 additions and 6 deletions

View File

@@ -207,6 +207,9 @@ func (m *ThirdPartyResourceServer) getExistingThirdPartyResources(path string) [
Name: key,
Namespaced: true,
Kind: obj.Kind(),
Verbs: metav1.Verbs([]string{
"delete", "deletecollection", "get", "list", "patch", "create", "update", "watch",
}),
})
}
}