mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 09:24:23 +00:00
add admission webhook types in the default cluster-scoped resource list
This commit is contained in:
@@ -158,6 +158,8 @@ var clusterLevelKinds = []string{
|
|||||||
"CustomResourceDefinition",
|
"CustomResourceDefinition",
|
||||||
"Namespace",
|
"Namespace",
|
||||||
"PersistentVolume",
|
"PersistentVolume",
|
||||||
|
"MutatingWebhookConfiguration",
|
||||||
|
"ValidatingWebhookConfiguration",
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsClusterKind returns true if x is a cluster-level Gvk
|
// IsClusterKind returns true if x is a cluster-level Gvk
|
||||||
|
|||||||
Reference in New Issue
Block a user