Skip to content

Commit

Permalink
Fix: vela install chart switch place (#6153)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Somefive and wonderflow committed Jun 29, 2023
1 parent 9024606 commit 48cf6fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/vela-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion references/cli/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions references/cli/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 48cf6fb

Please sign in to comment.