Fix: vela install chart switch place (#6153)

* Fix: vela install chart switch place

Signed-off-by: Somefive <Somefive@foxmail.com>

* Fix: test case replace url

Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>

---------

Signed-off-by: Somefive <Somefive@foxmail.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
This commit is contained in:
Somefive
2023-06-29 17:48:12 +08:00
committed by GitHub
co-authored by Jianbo Sun
parent 90246065d9
commit 48cf6fb10e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ multi-cloud environments. At the mean time, it is highly extensible and programm
## TL;DR
```bash
helm repo add kubevela https://charts.kubevela.net/core
helm repo add kubevela https://kubevela.github.io/charts
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --wait
```
+1 -1
View File
@@ -50,7 +50,7 @@ import (
// const defaultConstraint = ">= 1.19, <= 1.24"
const defaultConstraint = ">= 1.19"
const kubevelaInstallerHelmRepoURL = "https://charts.kubevela.net/core/"
const kubevelaInstallerHelmRepoURL = "https://kubevela.github.io/charts/"
// kubeVelaReleaseName release name
const kubeVelaReleaseName = "kubevela"
+2 -2
View File
@@ -25,8 +25,8 @@ import (
)
func TestGetKubeVelaHelmChartRepoURL(t *testing.T) {
assert.Equal(t, getKubeVelaHelmChartRepoURL("v1.2.2"), "https://charts.kubevela.net/core/vela-core-1.2.2.tgz")
assert.Equal(t, getKubeVelaHelmChartRepoURL("1.1.11"), "https://charts.kubevela.net/core/vela-core-1.1.11.tgz")
assert.Equal(t, getKubeVelaHelmChartRepoURL("v1.2.2"), "https://kubevela.github.io/charts/vela-core-1.2.2.tgz")
assert.Equal(t, getKubeVelaHelmChartRepoURL("1.1.11"), "https://kubevela.github.io/charts/vela-core-1.1.11.tgz")
}
var _ = Describe("Test Install Command", func() {