Browse Source
Fix crio_version version comparison (#10780)
Signed-off-by: serge Hartmann <serge.hartmann@gmail.com>
pull/10769/head
Serge Hartmann
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/container-engine/cri-o/templates/crio.conf.j2
|
|
@ -382,7 +382,7 @@ enable_metrics = {{ crio_enable_metrics | bool | lower }} |
|
|
|
# The port on which the metrics server will listen. |
|
|
|
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] |
|
|
|
|
|
|
|
enable_nri=true |
|
|
|