Browse Source

Fix hardcoded pod infra version (#10804)

Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
release-2.21
ERIK 10 months ago
committed by GitHub
parent
commit
b50e4c9eb7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions
  1. 7
      roles/download/defaults/main.yml

7
roles/download/defaults/main.yml

@ -114,7 +114,6 @@ flannel_version: "v0.20.2"
flannel_cni_version: "v1.2.0"
cni_version: "v1.2.0"
weave_version: 2.8.1
pod_infra_version: "3.8"
cilium_version: "v1.12.1"
cilium_cli_version: "v0.12.5"
@ -132,6 +131,12 @@ skopeo_version: v1.10.0
# Get kubernetes major version (i.e. 1.17.4 => 1.17)
kube_major_version: "{{ kube_version | regex_replace('^v([0-9])+\\.([0-9]+)\\.[0-9]+', 'v\\1.\\2') }}"
pod_infra_supported_version:
v1.25: "3.8"
v1.24: "3.7"
v1.23: "3.6"
pod_infra_version: "{{ pod_infra_supported_version[kube_major_version] }}"
etcd_supported_versions:
v1.25: "v3.5.6"
v1.24: "v3.5.6"

Loading…
Cancel
Save