Merge pull request #2041 from duanjiong/networkpolicy-resource

add k8s networkpolicy resource
This commit is contained in:
KubeSphere CI Bot
2020-05-06 10:40:29 +08:00
committed by GitHub
4 changed files with 156 additions and 0 deletions

View File

@@ -300,6 +300,8 @@ func (s *APIServer) waitForResourceSync(stopCh <-chan struct{}) error {
{Group: "extensions", Version: "v1beta1", Resource: "ingresses"},
{Group: "autoscaling", Version: "v2beta2", Resource: "horizontalpodautoscalers"},
{Group: "networking.k8s.io", Version: "v1", Resource: "networkpolicies"},
}
for _, gvr := range k8sGVRs {