File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ defaults: &defaults
77 DOCKER_VERSION : " 17.03.0-ce"
88 KUBECTL_VERSION : " v1.9.3"
99 KUBECTL_SHA1 : " a27d808eb011dbeea876fe5326349ed167a7ed28"
10+ # remove DIND_CRI to use dockershim
11+ DIND_CRI : containerd
1012 # Uncomment the following to use ginkgo.focus for e2e
1113 # E2E_FOCUS: "Specify a regexp.*here"
1214
Original file line number Diff line number Diff line change @@ -282,6 +282,9 @@ function prepare_node {
282282 fi
283283 ensure_build_container
284284 echo >&2 " Installing CRI proxy package in the node container (${node} )..."
285+ if [[ ${DIND_CRI:- } = containerd ]]; then
286+ docker exec " ${node} " /bin/bash -c ' echo criproxy-nodeps criproxy/primary_cri select containerd | debconf-set-selections'
287+ fi
285288 docker exec " ${node} " /bin/bash -c " curl -sSL '${CRIPROXY_DEB_URL} ' >/criproxy.deb && dpkg -i /criproxy.deb && rm /criproxy.deb"
286289
287290 docker exec " ${node} " mount --make-shared /dind
You can’t perform that action at this time.
0 commit comments