From a7ba7cdcd5237ed13efa0cd41a800c8acaf23ba2 Mon Sep 17 00:00:00 2001 From: Mohamed Zaian Date: Fri, 8 Jul 2022 19:41:48 +0200 Subject: [PATCH] [calico] add v3.23.2 and make it default (#9041) --- README.md | 2 +- roles/download/defaults/main.yml | 12 ++++++------ .../network_plugin/calico/templates/calico-cr.yml.j2 | 8 ++++++++ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b55c20579..b36b84df3 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ Note: Upstart/SysV init based OS types are not supported. - [cri-o](http://cri-o.io/) v1.22 (experimental: see [CRI-O Note](docs/cri-o.md). Only on fedora, ubuntu and centos based OS) - Network Plugin - [cni-plugins](https://github.com/containernetworking/plugins) v1.1.1 - - [calico](https://github.com/projectcalico/calico) v3.23.1 + - [calico](https://github.com/projectcalico/calico) v3.23.2 - [canal](https://github.com/projectcalico/canal) (given calico/flannel versions) - [cilium](https://github.com/cilium/cilium) v1.11.6 - [flannel](https://github.com/flannel-io/flannel) v0.17.0 diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index d6080634b..cf4946069 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -95,7 +95,7 @@ github_image_repo: "ghcr.io" # TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults # after migration to container download -calico_version: "v3.23.1" +calico_version: "v3.23.2" calico_ctl_version: "{{ calico_version }}" calico_cni_version: "{{ calico_version }}" calico_flexvol_version: "{{ calico_version }}" @@ -513,24 +513,24 @@ cni_binary_checksums: calicoctl_binary_checksums: arm: - v3.23.1: 0 + v3.23.2: 0 v3.22.3: 0 v3.21.5: 0 amd64: - v3.23.1: e8fd04d776df5571917512560800bf77f3cdf36ca864c9cae966cb74d62ba4fe + v3.23.2: 3784200cdfc0106c9987df2048d219bb91147f0cc3fa365b36279ac82ea37c7a v3.22.3: a9e5f6bad4ad8c543f6bdcd21d3665cdd23edc780860d8e52a87881a7b3e203c v3.21.5: 98407b1c608fec0896004767c72cd4b6cf939976d67d3eca121f1f02137c92a7 arm64: - v3.23.1: 30f7e118c21ecba445b4fbb27f7ac8bc0d1525ab3c776641433e3b1a3388c65b + v3.23.2: 232b992e6767c68c8c832cc7027a0d9aacb29901a9b5e8871e25baedbbb9c64cb v3.22.3: 3a3e70828c020efd911181102d21cb4390b7b68669898bd40c0c69b64d11bb63 v3.21.5: cc73e2b8f5b695b6ab06e7856cd516c1e9ec3e903abb510ef465ca6b530e18e6 ppc64le: - v3.23.1: ef5e9b413fbe32da09023cdafc2c3977627dd64a0abcfc68398d3b3923cdd8a6 + v3.23.2: d9ded02381a0fc1311561d0cc9eed9ea827462f3b823593d6ac8bd0591d2020f v3.22.3: 7c2fe391f2a18eccff65c64bf93133dc5c58c7322cbd31ea207bbfef5b563947 v3.21.5: 1ebb615b18f9c3fe2d41281d1bc9e3909048b56d2bc76c18431cbeb7a653d24d calico_crds_archive_checksums: - v3.23.1: a1754ae4bb158e3b46ba3fb326d8038d54cd0dc2c5c8527eadf2b0a6cf8ef2e3 + v3.23.2: 37c429650723c5f12ffc20dd390ead1e10d2b8a955a199666d155115a49b4dcc v3.22.3: 55ece01da00f82c62619b82b6bfd6442a021acc6fd915a753735e6ebceabaa21 v3.21.5: ffbbaa2bc32b01bf160828d2cfd4504d83c69cb1f74c0028349181ed61bad635 diff --git a/roles/network_plugin/calico/templates/calico-cr.yml.j2 b/roles/network_plugin/calico/templates/calico-cr.yml.j2 index 0149badd6..e309c0418 100644 --- a/roles/network_plugin/calico/templates/calico-cr.yml.j2 +++ b/roles/network_plugin/calico/templates/calico-cr.yml.j2 @@ -157,4 +157,12 @@ rules: - daemonsets verbs: - get + # Used for creating service account tokens to be used by the CNI plugin + - apiGroups: [""] + resources: + - serviceaccounts/token + resourceNames: + - calico-node + verbs: + - create {% endif %}