From fcbcf3c03b94242e4136b07ae68608386c2bee07 Mon Sep 17 00:00:00 2001 From: Kay Yan Date: Mon, 30 Sep 2024 15:34:03 +0800 Subject: [PATCH] cri-o Switch to libexecdir (#11584) Signed-off-by: Kay Yan --- .../container-engine/cri-o/defaults/main.yml | 5 +++-- roles/container-engine/cri-o/tasks/main.yaml | 17 ++++++++++++++++ roles/container-engine/cri-o/tasks/reset.yml | 8 ++++++++ roles/container-engine/cri-o/vars/v1.28.yml | 2 ++ roles/container-engine/cri-o/vars/v1.29.yml | 1 + roles/container-engine/cri-o/vars/v1.31.yml | 9 ++++++--- roles/container-engine/youki/tasks/main.yml | 2 +- .../defaults/main/checksums.yml | 20 +++++++++---------- .../defaults/main/download.yml | 8 ++++---- 9 files changed, 52 insertions(+), 20 deletions(-) diff --git a/roles/container-engine/cri-o/defaults/main.yml b/roles/container-engine/cri-o/defaults/main.yml index 6bc0d7238..ffbb0cfb2 100644 --- a/roles/container-engine/cri-o/defaults/main.yml +++ b/roles/container-engine/cri-o/defaults/main.yml @@ -2,6 +2,7 @@ crio_cgroup_manager: "{{ kubelet_cgroup_driver | default('systemd') }}" crio_conmon: "{{ bin_dir }}/conmon" +crio_libexec_dir: "/usr/libexec/crio" crio_enable_metrics: false crio_log_level: "info" crio_metrics_port: "9090" @@ -40,7 +41,7 @@ crio_required_version: "{{ kube_version | regex_replace('^v(?P\\d+).(?P