mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-30 20:28:53 +08:00
feat: Remove guest cluster in Rancher (#391)
* feat: Remove guest cluster in Rancher Signed-off-by: Nick Chung <nick.chung@suse.com> * feat: add feature flag 1.6.0 Signed-off-by: Nick Chung <nick.chung@suse.com> * feat: update for review Signed-off-by: Nick Chung <nick.chung@suse.com> * chore: fix for review Signed-off-by: Nick Chung <nick.chung@suse.com> * chore: fix for review Signed-off-by: Nick Chung <nick.chung@suse.com> * refactor: reduce redundant code Signed-off-by: Andy Lee <andy.lee@suse.com> * chore: change text area to yaml editor Signed-off-by: Nick Chung <nick.chung@suse.com> * refactor: change radio and yaml editor position Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Nick Chung <nick.chung@suse.com> Signed-off-by: Andy Lee <andy.lee@suse.com> Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
1 parent
ef2b4d1589
commit
a9fa928912
4 files changed
+234
-3
No files matched your search
@@ -43,7 +43,8 @@ const FEATURE_FLAGS = {
|
||||
'customSupportBundle',
|
||||
'csiOnlineExpandValidation',
|
||||
'vmNetworkMigration',
|
||||
'kubeovnVpcSubnet'
|
||||
'kubeovnVpcSubnet',
|
||||
'rancherClusterSetting'
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ export const HCI_SETTING = {
|
||||
ADDITIONAL_GUEST_MEMORY_OVERHEAD_RATIO: 'additional-guest-memory-overhead-ratio',
|
||||
UPGRADE_CONFIG: 'upgrade-config',
|
||||
VM_MIGRATION_NETWORK: 'vm-migration-network',
|
||||
RANCHER_CLUSTER: 'rancher-cluster',
|
||||
};
|
||||
|
||||
export const HCI_ALLOWED_SETTINGS = {
|
||||
@@ -108,8 +109,8 @@ export const HCI_ALLOWED_SETTINGS = {
|
||||
featureFlag: 'upgradeConfigSetting',
|
||||
docPath: 'UPGRADE_CONFIG_URL'
|
||||
},
|
||||
[HCI_SETTING.VM_MIGRATION_NETWORK]: {
|
||||
kind: 'json', from: 'import', canReset: true, featureFlag: 'vmNetworkMigration',
|
||||
[HCI_SETTING.RANCHER_CLUSTER]: {
|
||||
kind: 'custom', from: 'import', canReset: true, featureFlag: 'rancherClusterSetting'
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user