fix: invalid version check in containerd jinja-template config (#10620)
parent
7ba85710ad
commit
adb8ff14b9
|
@ -86,7 +86,7 @@ oom_score = {{ containerd_oom_score }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if nri_enabled and containerd_version >= 1.7.0 %}
|
{% if nri_enabled and containerd_version is version('1.7.0', '>=') %}
|
||||||
[plugins."io.containerd.nri.v1.nri"]
|
[plugins."io.containerd.nri.v1.nri"]
|
||||||
disable = false
|
disable = false
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue