mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Limit which versions can be used
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
cc3b2d3271
commit
714d4627a3
@ -20,6 +20,12 @@ const podDisruptionBudgetApiInjectable = getInjectable({
|
|||||||
maybeKubeApi: di.inject(maybeKubeApiInjectable),
|
maybeKubeApi: di.inject(maybeKubeApiInjectable),
|
||||||
}, {
|
}, {
|
||||||
checkPreferredVersion: true,
|
checkPreferredVersion: true,
|
||||||
|
allowedUsableVersions: {
|
||||||
|
policy: [
|
||||||
|
"v1",
|
||||||
|
"v1beta1",
|
||||||
|
],
|
||||||
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user