From 06174fb52fb34517259873ac5df081d34f915901 Mon Sep 17 00:00:00 2001 From: Prachi Pendse Date: Thu, 21 May 2020 14:31:18 -0700 Subject: [PATCH] Add Cluster as not namespaceable kind The Cluster object from the clusterregistry api is always cluster scoped. --- api/resid/gvk.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/resid/gvk.go b/api/resid/gvk.go index 64d0a0749..48a33f6e4 100644 --- a/api/resid/gvk.go +++ b/api/resid/gvk.go @@ -167,6 +167,7 @@ var notNamespaceableKinds = []string{ "CSIDriver", "CSINode", "CertificateSigningRequest", + "Cluster", "ClusterRole", "ClusterRoleBinding", "ComponentStatus",