Skip to content

Commit

Permalink
Fix hardcoded pod infra version
Browse files Browse the repository at this point in the history
Signed-off-by: bo.jiang <[email protected]>
  • Loading branch information
ErikJiang committed Jan 18, 2024
1 parent 774d824 commit d9005c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion roles/download/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ flannel_version: "v0.21.4"
flannel_cni_version: "v1.2.0"
cni_version: "v1.3.0"
weave_version: 2.8.1
pod_infra_version: "3.9"

cilium_version: "v1.13.0"
cilium_cli_version: "v0.13.1"
Expand All @@ -135,6 +134,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.26: "3.9"
v1.25: "3.8"
v1.24: "3.7"
pod_infra_version: "{{ pod_infra_supported_version[kube_major_version] }}"

etcd_supported_versions:
v1.26: "v3.5.6"
v1.25: "v3.5.6"
Expand Down

0 comments on commit d9005c7

Please sign in to comment.