mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Upgrade outdated cilium_min_version_required
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
cilium_min_version_required: "1.10"
|
cilium_min_version_required: "1.15"
|
||||||
# Log-level
|
# Log-level
|
||||||
cilium_debug: false
|
cilium_debug: false
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ cilium_enable_ipv6: "{{ ipv6_stack }}"
|
|||||||
cilium_l2announcements: false
|
cilium_l2announcements: false
|
||||||
|
|
||||||
# Cilium agent health port
|
# Cilium agent health port
|
||||||
cilium_agent_health_port: "{%- if cilium_version is version('1.11.6', '>=') -%}9879{%- else -%}9876{%- endif -%}"
|
cilium_agent_health_port: "9879"
|
||||||
|
|
||||||
# Identity allocation mode selects how identities are shared between cilium
|
# Identity allocation mode selects how identities are shared between cilium
|
||||||
# nodes by setting how they are stored. The options are "crd" or "kvstore".
|
# nodes by setting how they are stored. The options are "crd" or "kvstore".
|
||||||
@@ -63,12 +63,6 @@ cilium_kube_proxy_replacement: partial
|
|||||||
# http://docs.cilium.io/en/stable/install/upgrade/#changes-that-may-require-action
|
# http://docs.cilium.io/en/stable/install/upgrade/#changes-that-may-require-action
|
||||||
cilium_preallocate_bpf_maps: false
|
cilium_preallocate_bpf_maps: false
|
||||||
|
|
||||||
# `cilium_tofqdns_enable_poller` is deprecated in 1.8, removed in 1.9
|
|
||||||
cilium_tofqdns_enable_poller: false
|
|
||||||
|
|
||||||
# `cilium_enable_legacy_services` is deprecated in 1.6, removed in 1.9
|
|
||||||
cilium_enable_legacy_services: false
|
|
||||||
|
|
||||||
# Auto direct nodes routes can be used to advertise pods routes in your cluster
|
# Auto direct nodes routes can be used to advertise pods routes in your cluster
|
||||||
# without any tunelling (with `cilium_tunnel_mode` sets to `disabled`).
|
# without any tunelling (with `cilium_tunnel_mode` sets to `disabled`).
|
||||||
# This works only if you have a L2 connectivity between all your nodes.
|
# This works only if you have a L2 connectivity between all your nodes.
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
msg: "cilium_encryption_type must be either 'ipsec' or 'wireguard'"
|
msg: "cilium_encryption_type must be either 'ipsec' or 'wireguard'"
|
||||||
when: cilium_encryption_enabled
|
when: cilium_encryption_enabled
|
||||||
|
|
||||||
- name: Stop if cilium_version is < 1.10.0
|
- name: Stop if cilium_version is < {{ cilium_min_version_required }}
|
||||||
assert:
|
assert:
|
||||||
that: cilium_version is version(cilium_min_version_required, '>=')
|
that: cilium_version is version(cilium_min_version_required, '>=')
|
||||||
msg: "cilium_version is too low. Minimum version {{ cilium_min_version_required }}"
|
msg: "cilium_version is too low. Minimum version {{ cilium_min_version_required }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user