From a9198c4290baf245cb0999613717ad42f9e50c4b Mon Sep 17 00:00:00 2001 From: krnowak Date: Mon, 18 Dec 2023 07:12:42 +0000 Subject: [PATCH] Update calico to v3.27.0 --- kola/tests/kubeadm/templates.go | 8 ++++---- kola/tests/kubeadm/testdata/master-calico-script.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kola/tests/kubeadm/templates.go b/kola/tests/kubeadm/templates.go index c83c434df..d85a6c223 100644 --- a/kola/tests/kubeadm/templates.go +++ b/kola/tests/kubeadm/templates.go @@ -408,9 +408,9 @@ EOF {{ if eq .CNI "calico" }} cat << EOF > calico.yaml -# Source: https://raw.githubusercontent.com/projectcalico/calico/v3.26.4/manifests/custom-resources.yaml +# Source: https://raw.githubusercontent.com/projectcalico/calico/v3.27.0/manifests/custom-resources.yaml # This section includes base Calico installation configuration. -# For more information, see: https://projectcalico.docs.tigera.io/master/reference/installation/api#operator.tigera.io/v1.Installation +# For more information, see: https://docs.tigera.io/calico/latest/reference/installation/api#operator.tigera.io/v1.Installation apiVersion: operator.tigera.io/v1 kind: Installation metadata: @@ -439,7 +439,7 @@ spec: --- # This section configures the Calico API server. -# For more information, see: https://projectcalico.docs.tigera.io/master/reference/installation/api#operator.tigera.io/v1.APIServer +# For more information, see: https://docs.tigera.io/calico/latest/reference/installation/api#operator.tigera.io/v1.APIServer apiVersion: operator.tigera.io/v1 kind: APIServer metadata: @@ -457,7 +457,7 @@ EOF chown -R core:core /home/core/.kube; chmod a+r /home/core/.kube/config; {{ if eq .CNI "calico" }} - kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.26.4/manifests/tigera-operator.yaml + kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.27.0/manifests/tigera-operator.yaml # calico.yaml uses Installation and APIServer CRDs, so make sure that they are established. kubectl -n tigera-operator wait --for condition=established --timeout=60s crd/installations.operator.tigera.io kubectl -n tigera-operator wait --for condition=established --timeout=60s crd/apiservers.operator.tigera.io diff --git a/kola/tests/kubeadm/testdata/master-calico-script.sh b/kola/tests/kubeadm/testdata/master-calico-script.sh index 34910dadf..d195da48c 100644 --- a/kola/tests/kubeadm/testdata/master-calico-script.sh +++ b/kola/tests/kubeadm/testdata/master-calico-script.sh @@ -77,9 +77,9 @@ EOF cat << EOF > calico.yaml -# Source: https://raw.githubusercontent.com/projectcalico/calico/v3.26.4/manifests/custom-resources.yaml +# Source: https://raw.githubusercontent.com/projectcalico/calico/v3.27.0/manifests/custom-resources.yaml # This section includes base Calico installation configuration. -# For more information, see: https://projectcalico.docs.tigera.io/master/reference/installation/api#operator.tigera.io/v1.Installation +# For more information, see: https://docs.tigera.io/calico/latest/reference/installation/api#operator.tigera.io/v1.Installation apiVersion: operator.tigera.io/v1 kind: Installation metadata: @@ -103,7 +103,7 @@ spec: --- # This section configures the Calico API server. -# For more information, see: https://projectcalico.docs.tigera.io/master/reference/installation/api#operator.tigera.io/v1.APIServer +# For more information, see: https://docs.tigera.io/calico/latest/reference/installation/api#operator.tigera.io/v1.APIServer apiVersion: operator.tigera.io/v1 kind: APIServer metadata: @@ -121,7 +121,7 @@ EOF chown -R core:core /home/core/.kube; chmod a+r /home/core/.kube/config; - kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.26.4/manifests/tigera-operator.yaml + kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.27.0/manifests/tigera-operator.yaml # calico.yaml uses Installation and APIServer CRDs, so make sure that they are established. kubectl -n tigera-operator wait --for condition=established --timeout=60s crd/installations.operator.tigera.io kubectl -n tigera-operator wait --for condition=established --timeout=60s crd/apiservers.operator.tigera.io