Browse Source

fix: Change the position of the containerd_extra_args parameter to make the parameter more universal. (#11013)

that you can only place thing in the root table in a toml document before the first table heading.
pull/11205/head
QCU 6 months ago
committed by GitHub
parent
commit
d7756d85ef
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions
  1. 7
      roles/container-engine/containerd/templates/config.toml.j2

7
roles/container-engine/containerd/templates/config.toml.j2

@ -3,6 +3,10 @@ root = "{{ containerd_storage_dir }}"
state = "{{ containerd_state_dir }}" state = "{{ containerd_state_dir }}"
oom_score = {{ containerd_oom_score }} oom_score = {{ containerd_oom_score }}
{% if containerd_extra_args is defined %}
{{ containerd_extra_args }}
{% endif %}
[grpc] [grpc]
max_recv_message_size = {{ containerd_grpc_max_recv_message_size }} max_recv_message_size = {{ containerd_grpc_max_recv_message_size }}
max_send_message_size = {{ containerd_grpc_max_send_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 }}" service_name = "{{ containerd_tracing_service_name }}"
{% endif %} {% endif %}
{% if containerd_extra_args is defined %}
{{ containerd_extra_args }}
{% endif %}
Loading…
Cancel
Save