File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 44sudo curl -Lo /usr/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.12.0/kind-linux-amd64
55sudo chmod +x /usr/bin/kind
66
7- # download openshift client
8- OPENSHIFT_VERSION=" 4.9.9"
7+ # download the latest openshift client at a certain release level
8+ RELEASE_LEVEL=" 4.10"
9+ VERSIONS=($( sudo curl -sH ' Accept: application/json' " https://api.openshift.com/api/upgrades_info/v1/graph?channel=stable-${RELEASE_LEVEL} &arch=amd64" | jq -r ' .nodes[].version' | sort) )
10+ OPENSHIFT_VERSION=${VERSIONS[${#VERSIONS[@]} - 1]}
11+
912OC_BIN_TAR=" openshift-client-linux.tar.gz"
1013OC_DL_URL=" https://mirror.openshift.com/pub/openshift-v4/clients/ocp" /${OPENSHIFT_VERSION} /${OC_BIN_TAR}
1114
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ sudo dnf remove docker \
2121
2222# Install docker
2323sudo dnf -y install dnf-plugins-core
24- sudo dnf -y install docker-ce docker-ce-cli containerd.io
24+ sudo dnf -y install docker-ce docker-ce-cli containerd.io jq
2525
2626# Configure IPv6 in docker ( https://docs.docker.com/config/daemon/ipv6/ )
2727sudo mkdir /etc/docker
You can’t perform that action at this time.
0 commit comments