Browse Source

Feat: add definition of `ignore_image_defined_volumes` in containerd cri plugin configuration

pull/11421/head
Eugenio Alessandria 3 months ago
parent
commit
c6d0b1fbeb
2 changed files with 3 additions and 0 deletions
  1. 2
      roles/container-engine/containerd/defaults/main.yml
  2. 1
      roles/container-engine/containerd/templates/config.toml.j2

2
roles/container-engine/containerd/defaults/main.yml

@ -61,6 +61,8 @@ containerd_registries_mirrors:
containerd_max_container_log_line_size: -1
containerd_ignore_image_defined_volumes: false
# If enabled it will allow non root users to use port numbers <1024
containerd_enable_unprivileged_ports: false
# If enabled it will allow non root users to use icmp sockets

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

@ -20,6 +20,7 @@ oom_score = {{ containerd_oom_score }}
[plugins]
[plugins."io.containerd.grpc.v1.cri"]
ignore_image_defined_volumes = {{ containerd_ignore_image_defined_volumes }}
sandbox_image = "{{ pod_infra_image_repo }}:{{ pod_infra_image_tag }}"
max_container_log_line_size = {{ containerd_max_container_log_line_size }}
enable_unprivileged_ports = {{ containerd_enable_unprivileged_ports | lower }}

Loading…
Cancel
Save