mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Fix crio_version version comparison (#10780)
Signed-off-by: serge Hartmann <serge.hartmann@gmail.com>
This commit is contained in:
@@ -382,7 +382,7 @@ enable_metrics = {{ crio_enable_metrics | bool | lower }}
|
|||||||
# The port on which the metrics server will listen.
|
# The port on which the metrics server will listen.
|
||||||
metrics_port = {{ crio_metrics_port }}
|
metrics_port = {{ crio_metrics_port }}
|
||||||
|
|
||||||
{% if nri_enabled and crio_version >= v1.26.0 %}
|
{% if nri_enabled and crio_version is version('v1.26.0', operator='>=') %}
|
||||||
[crio.nri]
|
[crio.nri]
|
||||||
|
|
||||||
enable_nri=true
|
enable_nri=true
|
||||||
|
|||||||
Reference in New Issue
Block a user