Skip to content

Commit

Permalink
Use custom stable repo for helm 2 client-only (kanisterio#878)
Browse files Browse the repository at this point in the history
Before actually packaging the helm chart, we run
```
helm init --client-only
```
this command actually tried to update stale stable
helm repo. Which has been deprecated, we are adding
custom stable repo to get around that problem.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
viveksinghggits and mergify[bot] authored Jan 15, 2021
1 parent 6376c76 commit 638c3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/release_helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ release_helm_charts() {
main() {
version=${1:?"chart version not specified"}

helm init --client-only
helm init --client-only --stable-repo-url https://charts.helm.sh/stable

helm repo add kanister ${HELM_RELEASE_REPO_URL}
release_helm_charts helm/profile "${version}"
Expand Down

0 comments on commit 638c3bd

Please sign in to comment.