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:
Nick Chung
2025-07-21 17:25:51 +08:00
committed by GitHub
co-authored by Andy Lee
parent ef2b4d1589
commit a9fa928912
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: |-