mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
1 parent
9ed64a29df
commit
3ad841bc15
3 files changed
+13
-4
No files matched your search
+4
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user