Skip to content

Commit

Permalink
fix(verifydeprecatedapi): add missing RuntimeClass kind (#404)
Browse files Browse the repository at this point in the history
Signed-off-by: Shinebayar Gansukh <[email protected]>
Co-authored-by: Andrew Peabody <[email protected]>
  • Loading branch information
shinebayar-g and apeabody authored Oct 13, 2023
1 parent 5da160c commit c6500e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion website/docs/validation/verifydeprecatedapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c6500e3

Please sign in to comment.