mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 14:16:05 +08:00
* feat: Remove guest cluster in Rancher
* feat: add feature flag 1.6.0
* feat: update for review
* chore: fix for review
* chore: fix for review
* refactor: reduce redundant code
* chore: change text area to yaml editor
* refactor: change radio and yaml editor position
---------
(cherry picked from commit a9fa928912)
Signed-off-by: Nick Chung <nick.chung@suse.com>
Signed-off-by: Andy Lee <andy.lee@suse.com>
Co-authored-by: Nick Chung <Nick.Chung@suse.com>
Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
co-authored by
Nick Chung
Andy Lee
parent
4e5320dc72
commit
eab4ba3d0f
@@ -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