- Related issues: #2753 [FEATURE] Harvester Cloud Provider compatibility check enhancement
Category:
- Rancher Integration
Verification Steps
- Open Rancher Global settings
- Edit the
rke-metadata-config
- Change the default url to
https://harvester-dev.oss-cn-hangzhou.aliyuncs.com/Untitled-1.json
which include the following cloud provider and csi-driver chart changes"charts": { "harvester-cloud-provider": { "repo": "rancher-rke2-charts", "version": "1.1.0" }, "harvester-csi-driver": { "repo": "rancher-rke2-charts", "version": "1.1.0" },
- Save and reload page
- Open the create RKE2 cluster page
- Select the incomparable RKE2 version
- Check the Cloud provider drop down
- Enable Harvester API in Preference -> Enable Developer Tools & Features
- Open settings
- Click view API of any setting
- Click up
- open the id": “harvester-csi-ccm-versions”
- Or directly access https://192.168.122.162/v1/harvester/harvesterhci.io.settings/harvester-csi-ccm-versions
- Click Edit button
- Change the default value to
{"harvester-cloud-provider":">=0.0.1 <0.1.2","harvester-csi-provider":">=0.0.1 <0.1.2"}
- Show and Send request
- Repeat step 5 - 7
Expected Results
-
When we change the cloud provider and csi-driver chart version in Rancher
rke-metadata-config
setting, Then we select the incompatibility RKE2 version, the Harvester cloud provider isdisabled
and there will be a warning banner -
When we change the cloud provider and csi-driver chart version in Harvester
csi-ccm-versions
according to Semver expression Then we select the incompatibility RKE2 versions, the Harvester cloud provider isdisabled
and there will be a warning banner