Skip to content

Commit

Permalink
fix: issues/4400 add support for cronJob batch/v1 (#4433)
Browse files Browse the repository at this point in the history
* fix: issues/4400 add support for cronJob batch/v1

* fix: code style

Co-authored-by: mao.guangdong <mao.guangdong@iwhalecloud.com>
  • Loading branch information
own-idea and mao.guangdong committed Sep 26, 2022
1 parent 4761299 commit e00f64c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@ public int hashCode() {
new ResourceKey("ClusterRoleBinding", "clusterrolebindings", "rbac.authorization.k8s.io", "v1beta1"));
notFoundTransformations.put(new ResourceKey("ClusterRole", "clusterroles", "rbac.authorization.k8s.io", "v1"),
new ResourceKey("ClusterRole", "clusterroles", "rbac.authorization.k8s.io", "v1beta1"));
notFoundTransformations.put(new ResourceKey("CronJob", "cronjobs", "batch", "v1"),
new ResourceKey("CronJob", "cronjobs", "batch", "v1beta1"));
notFoundTransformations.put(new ResourceKey("CronJob", "cronjobs", "batch", "v1beta1"),
new ResourceKey("CronJob", "cronjob", "batch", "v2alpha1"));
new ResourceKey("CronJob", "cronjobs", "batch", "v2alpha1"));
notFoundTransformations.put(new ResourceKey("Template", "template", "", "v1"),
new ResourceKey("Template", "template", "template.openshift.io", "v1"));

Expand Down

0 comments on commit e00f64c

Please sign in to comment.