mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +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:
@@ -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