mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 14:16:05 +08:00
Refactoring feature flags store functions
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
// https://github.com/harvester/dashboard/releases/tag/v1.3.0
|
||||
const featuresV130 = [];
|
||||
const featuresV130 = [
|
||||
'supportHarvesterClusterVersion'
|
||||
];
|
||||
|
||||
// https://github.com/harvester/dashboard/releases/tag/v1.3.1
|
||||
const featuresV131 = [
|
||||
...featuresV130,
|
||||
'autoRotateRke2CertsSetting',
|
||||
'supportBundleNodeCollectionTimeoutSetting'
|
||||
];
|
||||
|
||||
// https://github.com/harvester/dashboard/releases/tag/v1.3.2
|
||||
const featuresV132 = [
|
||||
'autoRotateRke2CertsSetting',
|
||||
'supportBundleNodeCollectionTimeoutSetting',
|
||||
...featuresV131,
|
||||
'kubeconfigDefaultTokenTTLMinutesSetting',
|
||||
'improveMaintenanceMode',
|
||||
];
|
||||
@@ -22,9 +24,7 @@ const featuresV132 = [
|
||||
// https://github.com/harvester/dashboard/releases/tag/v1.4.0-rc2
|
||||
// https://github.com/harvester/dashboard/releases/tag/v1.4.0-rc1
|
||||
const featuresV140 = [
|
||||
'autoRotateRke2CertsSetting',
|
||||
'supportBundleNodeCollectionTimeoutSetting',
|
||||
'kubeconfigDefaultTokenTTLMinutesSetting',
|
||||
...featuresV132,
|
||||
'cpuPinning',
|
||||
'usbPassthrough',
|
||||
'volumeEncryption',
|
||||
|
||||
Reference in New Issue
Block a user