Skip to content

Commit

Permalink
Feat: add definition of ignore_image_defined_volumes in containerd …
Browse files Browse the repository at this point in the history
…cri plugin configuration
  • Loading branch information
ealessandria-orange committed Aug 6, 2024
1 parent 1968db9 commit c6d0b1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/container-engine/containerd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions roles/container-engine/containerd/templates/config.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c6d0b1f

Please sign in to comment.