Skip to content

Commit

Permalink
fix: Change the position of the containerd_extra_args parameter to ma…
Browse files Browse the repository at this point in the history
…ke the parameter more universal. (#11013)

that you can only place thing in the root table in a toml document before the first table heading.
  • Loading branch information
qcu266 committed May 16, 2024
1 parent 2c2b2ed commit d7756d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions roles/container-engine/containerd/templates/config.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 %}

0 comments on commit d7756d8

Please sign in to comment.