1
0
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:
Sebastian Malton 2023-01-20 10:58:14 -05:00
parent cc3b2d3271
commit 714d4627a3

View File

@ -20,6 +20,12 @@ const podDisruptionBudgetApiInjectable = getInjectable({
maybeKubeApi: di.inject(maybeKubeApiInjectable),
}, {
checkPreferredVersion: true,
allowedUsableVersions: {
policy: [
"v1",
"v1beta1",
],
},
});
},