Browse Source
fix: invalid version check in containerd jinja-template config (#10620)
pull/10625/head
Khanh Ngo Van Kim
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/containerd/templates/config.toml.j2
|
|
@ -86,7 +86,7 @@ oom_score = {{ containerd_oom_score }} |
|
|
|
{% endif %} |
|
|
|
{% 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"] |
|
|
|
disable = false |
|
|
|
{% endif %} |
|
|
|