From d551e0993a76bf8553ee8d4001e976e03f8ea730 Mon Sep 17 00:00:00 2001 From: Albert Zhong Date: Mon, 9 Oct 2023 14:17:55 -0700 Subject: [PATCH 1/2] fix api groups in constraint 1.22 Signed-off-by: Albert Zhong --- .../verifydeprecatedapi/samples/verify-1.22/constraint.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/general/verifydeprecatedapi/samples/verify-1.22/constraint.yaml b/library/general/verifydeprecatedapi/samples/verify-1.22/constraint.yaml index 637f08079..02b669174 100644 --- a/library/general/verifydeprecatedapi/samples/verify-1.22/constraint.yaml +++ b/library/general/verifydeprecatedapi/samples/verify-1.22/constraint.yaml @@ -25,9 +25,9 @@ spec: kinds: ["IngressClass"] - apiGroups: ["rbac.authorization.k8s.io"] kinds: ["ClusterRole", "ClusterRoleBinding", "Role", "RoleBinding"] - - apiGroups: ["scheduling.k8s.io/v1beta1"] + - apiGroups: ["scheduling.k8s.io"] kinds: ["PriorityClass"] - - apiGroups: ["storage.k8s.io/v1beta1"] + - apiGroups: ["storage.k8s.io"] kinds: ["CSIDriver", "CSINode", "StorageClass", "VolumeAttachment"] parameters: kvs: From cc10ebb8bd7faffb0fd3ff656456c9013b2373c9 Mon Sep 17 00:00:00 2001 From: Albert Zhong Date: Mon, 16 Oct 2023 11:11:43 -0700 Subject: [PATCH 2/2] run make generate generate-website-docs generate-artifacthub-artifacts Signed-off-by: Albert Zhong --- .../1.0.0/samples/verify-1.22/constraint.yaml | 4 ++-- website/docs/validation/verifydeprecatedapi.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/artifacthub/library/general/verifydeprecatedapi/1.0.0/samples/verify-1.22/constraint.yaml b/artifacthub/library/general/verifydeprecatedapi/1.0.0/samples/verify-1.22/constraint.yaml index 637f08079..02b669174 100644 --- a/artifacthub/library/general/verifydeprecatedapi/1.0.0/samples/verify-1.22/constraint.yaml +++ b/artifacthub/library/general/verifydeprecatedapi/1.0.0/samples/verify-1.22/constraint.yaml @@ -25,9 +25,9 @@ spec: kinds: ["IngressClass"] - apiGroups: ["rbac.authorization.k8s.io"] kinds: ["ClusterRole", "ClusterRoleBinding", "Role", "RoleBinding"] - - apiGroups: ["scheduling.k8s.io/v1beta1"] + - apiGroups: ["scheduling.k8s.io"] kinds: ["PriorityClass"] - - apiGroups: ["storage.k8s.io/v1beta1"] + - apiGroups: ["storage.k8s.io"] kinds: ["CSIDriver", "CSINode", "StorageClass", "VolumeAttachment"] parameters: kvs: diff --git a/website/docs/validation/verifydeprecatedapi.md b/website/docs/validation/verifydeprecatedapi.md index 1a71ed803..d0f231146 100644 --- a/website/docs/validation/verifydeprecatedapi.md +++ b/website/docs/validation/verifydeprecatedapi.md @@ -238,9 +238,9 @@ spec: kinds: ["IngressClass"] - apiGroups: ["rbac.authorization.k8s.io"] kinds: ["ClusterRole", "ClusterRoleBinding", "Role", "RoleBinding"] - - apiGroups: ["scheduling.k8s.io/v1beta1"] + - apiGroups: ["scheduling.k8s.io"] kinds: ["PriorityClass"] - - apiGroups: ["storage.k8s.io/v1beta1"] + - apiGroups: ["storage.k8s.io"] kinds: ["CSIDriver", "CSINode", "StorageClass", "VolumeAttachment"] parameters: kvs: