From ad0ea28b6a2cbc8d68ee1a05e6a1d2712102dca4 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 28 Jul 2022 07:40:24 +1000 Subject: [PATCH] ensure-kubernetes: pull cri-dockerd systemd from tag Pull from the tag, instead of master, to avoid going out of sync Change-Id: I5d3c612b1f8daed6f54c24fd70dc449dbc83ec8a --- roles/ensure-kubernetes/tasks/minikube.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ensure-kubernetes/tasks/minikube.yaml b/roles/ensure-kubernetes/tasks/minikube.yaml index 5bff614a0..7f355fdff 100644 --- a/roles/ensure-kubernetes/tasks/minikube.yaml +++ b/roles/ensure-kubernetes/tasks/minikube.yaml @@ -104,8 +104,8 @@ wget https://github.com/Mirantis/cri-dockerd/releases/download/v${VER}/cri-dockerd-${VER}.amd64.tgz tar xvf cri-dockerd-${VER}.amd64.tgz mv cri-dockerd/cri-dockerd /usr/local/bin - wget https://raw.githubusercontent.com/Mirantis/cri-dockerd/master/packaging/systemd/cri-docker.service - wget https://raw.githubusercontent.com/Mirantis/cri-dockerd/master/packaging/systemd/cri-docker.socket + wget https://raw.githubusercontent.com/Mirantis/cri-dockerd/v${VER}/packaging/systemd/cri-docker.service + wget https://raw.githubusercontent.com/Mirantis/cri-dockerd/v${VER}/packaging/systemd/cri-docker.socket sudo mv cri-docker.socket cri-docker.service /etc/systemd/system/ sed -i -e 's,/usr/bin/cri-dockerd,/usr/local/bin/cri-dockerd,' /etc/systemd/system/cri-docker.service popd