File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22MANIFESTS_FILE=${1:- " " }
3+ ADD_CHART=${2:- " true" }
34
45
56add_chart_repo () {
@@ -148,7 +149,12 @@ main() {
148149 local KB_REPO_URL=" https://apecloud.github.io/helm-charts"
149150 local KB_ENT_REPO_NAME=" kb-ent-charts"
150151 local KB_ENT_REPO_URL=" https://jihulab.com/api/v4/projects/${CHART_PROJECT_ID} /packages/helm/stable"
151- add_chart_repo
152+ if [[ " ${ADD_CHART} " == " true" ]]; then
153+ add_chart_repo
154+ else
155+ KB_REPO_NAME=" kubeblocks-addons"
156+ KB_REPO_URL=" https://jihulab.com/api/v4/projects/150246/packages/helm/stable"
157+ fi
152158
153159 upgrade_charts_addon
154160}
Original file line number Diff line number Diff line change @@ -304,7 +304,11 @@ main() {
304304 local KB_ENT_REPO_URL=" https://jihulab.com/api/v4/projects/${CHART_PROJECT_ID} /packages/helm/stable"
305305 if [[ " ${ADD_CHART} " == " true" ]]; then
306306 add_chart_repo
307+ else
308+ KB_REPO_NAME=" kubeblocks-addons"
309+ KB_REPO_URL=" https://jihulab.com/api/v4/projects/150246/packages/helm/stable"
307310 fi
311+
308312 check_charts_images
309313}
310314
You can’t perform that action at this time.
0 commit comments