Fix CronJob trigger menu missing (#6581)

- It was only missing for users of newer versions of Kube

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-11-16 04:31:31 -08:00
1 parent 9ed64a29df
commit 3ad841bc15
3 files changed
+13 -4

No files matched your search

@@ -13,7 +13,10 @@ const cronJobMenuInjectable = getInjectable({
instantiate: () => ( {
kind: "CronJob",
apiVersions: ["batch/v1beta1"],
apiVersions: [
"batch/v1beta1",
"batch/v1",
],
Component: CronJobMenu as KubeObjectMenuItemComponent,
enabled: computed(() => true),
orderNumber: 20,