Skip to content

Commit 2652362

Browse files
authored
Merge pull request #3159 from mboersma/cherry-pick-3156-release-1.7
[release-1.7] Fetch Calico Helm chart from new URL
2 parents 42e3d61 + 2c789f1 commit 2652362

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def deploy_worker_templates(template, substitutions):
353353
calico_values = "./templates/addons/calico-dual-stack/values.yaml"
354354
else:
355355
calico_values = "./templates/addons/calico/values.yaml"
356-
flavor_cmd += "; " + helm_cmd + " repo add projectcalico https://projectcalico.docs.tigera.io/charts; " + helm_cmd + " --kubeconfig ./${CLUSTER_NAME}.kubeconfig install calico projectcalico/tigera-operator -f " + calico_values + " --namespace tigera-operator --create-namespace; kubectl --kubeconfig ./${CLUSTER_NAME}.kubeconfig apply -f ./templates/addons/calico/felix-override.yaml"
356+
flavor_cmd += "; " + helm_cmd + " repo add projectcalico https://docs.tigera.io/calico/charts; " + helm_cmd + " --kubeconfig ./${CLUSTER_NAME}.kubeconfig install calico projectcalico/tigera-operator -f " + calico_values + " --namespace tigera-operator --create-namespace; kubectl --kubeconfig ./${CLUSTER_NAME}.kubeconfig apply -f ./templates/addons/calico/felix-override.yaml"
357357
if "external-cloud-provider" in flavor_name:
358358
flavor_cmd += "; " + helm_cmd + " --kubeconfig ./${CLUSTER_NAME}.kubeconfig install --repo https://raw.githubusercontent.com/kubernetes-sigs/cloud-provider-azure/master/helm/repo cloud-provider-azure --generate-name --set infra.clusterName=${CLUSTER_NAME}"
359359
local_resource(

docs/book/src/topics/addons.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export IPV4_CIDR_BLOCK=$(kubectl get cluster "${CLUSTER_NAME}" -o=jsonpath='{.sp
2828
Then install the Helm chart on the workload cluster:
2929

3030
```bash
31-
helm repo add projectcalico https://projectcalico.docs.tigera.io/charts && \
31+
helm repo add projectcalico https://docs.tigera.io/calico/charts && \
3232
helm install calico projectcalico/tigera-operator -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/main/templates/addons/calico/values.yaml --set-string "installation.calicoNetwork.ipPools[0].cidr=${IPV4_CIDR_BLOCK}" --namespace tigera-operator --create-namespace
3333
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/main/templates/addons/calico/felix-override.yaml
3434
```
@@ -44,7 +44,7 @@ export IPV6_CIDR_BLOCK=$(kubectl get cluster "${CLUSTER_NAME}" -o=jsonpath='{.sp
4444
Then install the Helm chart on the workload cluster:
4545

4646
```bash
47-
helm repo add projectcalico https://projectcalico.docs.tigera.io/charts && \
47+
helm repo add projectcalico https://docs.tigera.io/calico/charts && \
4848
helm install calico projectcalico/tigera-operator -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/main/templates/addons/calico-ipv6/values.yaml --set-string "installation.calicoNetwork.ipPools[0].cidr=${IPV6_CIDR_BLOCK}" --namespace tigera-operator --create-namespace
4949
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/main/templates/addons/calico/felix-override.yaml
5050
```
@@ -61,7 +61,7 @@ export IPV6_CIDR_BLOCK=$(kubectl get cluster "${CLUSTER_NAME}" -o=jsonpath='{.sp
6161
Then install the Helm chart on the workload cluster:
6262

6363
```bash
64-
helm repo add projectcalico https://projectcalico.docs.tigera.io/charts && \
64+
helm repo add projectcalico https://docs.tigera.io/calico/charts && \
6565
helm install calico projectcalico/tigera-operator -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/main/templates/addons/calico-dual-stack/values.yaml --set-string "installation.calicoNetwork.ipPools[0].cidr=${IPV4_CIDR_BLOCK}","installation.calicoNetwork.ipPools[1].cidr=${IPV6_CIDR_BLOCK}" --namespace tigera-operator --create-namespace
6666
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/main/templates/addons/calico/felix-override.yaml
6767
```

scripts/ci-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ install_calico() {
175175
CALICO_VALUES_FILE="${REPO_ROOT}/templates/addons/calico/values.yaml"
176176
CIDR_STRING_VALUES="installation.calicoNetwork.ipPools[0].cidr=${CIDR0}"
177177
fi
178-
"${HELM}" upgrade calico --install --repo https://projectcalico.docs.tigera.io/charts tigera-operator -f "${CALICO_VALUES_FILE}" --set-string "${CIDR_STRING_VALUES}" --namespace calico-system
178+
"${HELM}" upgrade calico --install --repo https://docs.tigera.io/calico/charts tigera-operator -f "${CALICO_VALUES_FILE}" --set-string "${CIDR_STRING_VALUES}" --namespace calico-system
179179
}
180180

181181
# install_cloud_provider_azure installs OOT cloud-provider-azure componentry onto the Cluster.

test/e2e/cni.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
)
3535

3636
const (
37-
calicoHelmChartRepoURL string = "https://projectcalico.docs.tigera.io/charts"
37+
calicoHelmChartRepoURL string = "https://docs.tigera.io/calico/charts"
3838
calicoOperatorNamespace string = "tigera-operator"
3939
CalicoSystemNamespace string = "calico-system"
4040
CalicoAPIServerNamespace string = "calico-apiserver"

0 commit comments

Comments
 (0)