File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,8 +76,10 @@ mirrors:
7676 - "https://k8s.gcr.io"
7777EOF
7878 k3s_install_url=" http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh"
79+ addons_url=" https://drycc-mirrors.oss-accelerate.aliyuncs.com/addons/latest/index.yaml"
7980else
8081 k3s_install_url=" https://get.k3s.io"
82+ addons_url=" https://github.com/drycc/addons/releases/download/latest/index.yaml"
8183fi
8284if [[ -z " ${K3S_URL} " ]] ; then
8385 INSTALL_K3S_EXEC=" server --flannel-backend=none --disable=traefik --disable=servicelb --cluster-cidr=10.233.0.0/16"
@@ -156,7 +158,11 @@ helm install helmbroker drycc/helmbroker \
156158 --set username=${HELMBROKER_USERNAME} \
157159 --set password=${HELMBROKER_PASSWORD} \
158160 --set environment.HELMBROKER_CELERY_BROKER=" amqp://${RABBITMQ_USERNAME} :${RABBITMQ_PASSWORD} @drycc-rabbitmq-0.drycc-rabbitmq.drycc.svc.cluster.local:5672/drycc" \
159- --namespace drycc --create-namespace --wait
161+ --namespace drycc --create-namespace --wait -f - << EOF
162+ repositories:
163+ - name: drycc-helm-broker
164+ url: ${addons_url}
165+ EOF
160166
161167kubectl apply -f - << EOF
162168apiVersion: servicecatalog.k8s.io/v1beta1
You can’t perform that action at this time.
0 commit comments