diff --git a/artifacthub/library/general/verifydeprecatedapi/1.0.0/samples/verify-1.25/constraint.yaml b/artifacthub/library/general/verifydeprecatedapi/1.0.0/samples/verify-1.25/constraint.yaml index 34a2fbba0..bf1a64e01 100644 --- a/artifacthub/library/general/verifydeprecatedapi/1.0.0/samples/verify-1.25/constraint.yaml +++ b/artifacthub/library/general/verifydeprecatedapi/1.0.0/samples/verify-1.25/constraint.yaml @@ -15,8 +15,10 @@ spec: kinds: ["HorizontalPodAutoscaler"] - apiGroups: ["policy"] kinds: ["PodDisruptionBudget", "PodSecurityPolicy"] + - apiGroups: ["node.k8s.io"] + kinds: ["RuntimeClass"] parameters: - kvs: + kvs: - deprecatedAPI: "batch/v1beta1" kinds: ["CronJob"] targetAPI: "batch/v1" diff --git a/library/general/verifydeprecatedapi/samples/verify-1.25/constraint.yaml b/library/general/verifydeprecatedapi/samples/verify-1.25/constraint.yaml index 34a2fbba0..bf1a64e01 100644 --- a/library/general/verifydeprecatedapi/samples/verify-1.25/constraint.yaml +++ b/library/general/verifydeprecatedapi/samples/verify-1.25/constraint.yaml @@ -15,8 +15,10 @@ spec: kinds: ["HorizontalPodAutoscaler"] - apiGroups: ["policy"] kinds: ["PodDisruptionBudget", "PodSecurityPolicy"] + - apiGroups: ["node.k8s.io"] + kinds: ["RuntimeClass"] parameters: - kvs: + kvs: - deprecatedAPI: "batch/v1beta1" kinds: ["CronJob"] targetAPI: "batch/v1" diff --git a/website/docs/validation/verifydeprecatedapi.md b/website/docs/validation/verifydeprecatedapi.md index 1ba8a9508..1a71ed803 100644 --- a/website/docs/validation/verifydeprecatedapi.md +++ b/website/docs/validation/verifydeprecatedapi.md @@ -382,8 +382,10 @@ spec: kinds: ["HorizontalPodAutoscaler"] - apiGroups: ["policy"] kinds: ["PodDisruptionBudget", "PodSecurityPolicy"] + - apiGroups: ["node.k8s.io"] + kinds: ["RuntimeClass"] parameters: - kvs: + kvs: - deprecatedAPI: "batch/v1beta1" kinds: ["CronJob"] targetAPI: "batch/v1"