diff --git a/roles/container-engine/containerd/templates/config.toml.j2 b/roles/container-engine/containerd/templates/config.toml.j2 index 088a680ab..8a1ee8aa5 100644 --- a/roles/container-engine/containerd/templates/config.toml.j2 +++ b/roles/container-engine/containerd/templates/config.toml.j2 @@ -3,6 +3,10 @@ root = "{{ containerd_storage_dir }}" state = "{{ containerd_state_dir }}" oom_score = {{ containerd_oom_score }} +{% if containerd_extra_args is defined %} +{{ containerd_extra_args }} +{% endif %} + [grpc] max_recv_message_size = {{ containerd_grpc_max_recv_message_size }} max_send_message_size = {{ containerd_grpc_max_send_message_size }} @@ -104,6 +108,3 @@ oom_score = {{ containerd_oom_score }} service_name = "{{ containerd_tracing_service_name }}" {% endif %} -{% if containerd_extra_args is defined %} -{{ containerd_extra_args }} -{% endif %}