mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 03:56:36 +00:00
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:
@@ -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
|
||||
```
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user