feat: Remove guest cluster in Rancher (#391) (#415)

* 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:
mergify[bot]
2025-07-21 17:28:34 +08:00
committed by GitHub
co-authored by Nick Chung Andy Lee
parent 4e5320dc72
commit eab4ba3d0f
4 changed files with 234 additions and 3 deletions
+15
View File
@@ -1126,6 +1126,20 @@ harvester:
publicCertificate: Public Certificate
privateKey: Private Key
ca: CA
rancherCluster:
description: Configure Rancher cluster integration for guest cluster management. This setting allows you to specify a Rancher KubeConfig and configure automatic cleanup behavior.
kubeConfig: Rancher KubeConfig
kubeConfigPlaceholder: Paste your Rancher KubeConfig content here...
removeUpstreamClusterWhenNamespaceIsDeleted: Remove Upstream Cluster When Namespace Is Deleted
createSecret: Create Rancher KubeConfig Secret
updateSecret: Update Rancher KubeConfig Secret
creatingSecret: Creating Secret...
updatingSecret: Updating Secret...
secretExists: A Rancher KubeConfig secret already exists and will be updated
secretCreated: Rancher KubeConfig secret created successfully
secretUpdated: Rancher KubeConfig secret updated successfully
secretCreationFailed: Failed to create Rancher KubeConfig secret
invalidKubeConfig: Invalid KubeConfig format. Please ensure it's a valid JSON kubeConfig file with apiVersion and kind fields.
storageNetwork:
range:
placeholder: e.g. 172.16.0.0/24
@@ -1708,6 +1722,7 @@ advancedSettings:
'harv-additional-guest-memory-overhead-ratio': 'The ratio for kubevirt to adjust the VM overhead memory. The value could be zero, empty value or floating number between 1.0 and 10.0, default to 1.5.'
'harv-upgrade-config': 'Configure image preloading and VM restore options for upgrades. See related fields in <a href="{url}" target="_blank" rel="noopener">settings/upgrade-config</a>'
'harv-vm-migration-network': 'Segregated network for VM migration traffic.'
'harv-rancher-cluster': 'Configure Rancher cluster integration settings for guest cluster management.'
typeLabel:
kubevirt.io.virtualmachine: |-