Skip to content

Commit 596a920

Browse files
authored
Merge pull request #3 from nolar/no-kubectl
Avoid overwriting the pre-existing kubectl
2 parents b91b4f0 + dc3cfc5 commit 596a920

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

action.sh

-6
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ echo "::set-output name=k8s-version::${K8S}"
8787
curl --silent --fail https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
8888
k3d cluster create ${K3D_NAME:-} --wait --image=rancher/k3s:"${K3S//+/-}" ${K3D_ARGS:-}
8989

90-
# Install kubectl (for this action only, not for the whole job).
91-
curl --silent --fail -L -o kubectl \
92-
https://storage.googleapis.com/kubernetes-release/release/"$K8S"/bin/linux/amd64/kubectl
93-
chmod +x kubectl
94-
sudo mv kubectl /usr/local/bin/
95-
9690
# Sometimes, the service account is not created immediately. Nice trick, but no:
9791
# we need to wait until the cluster is fully ready before starting the tests.
9892
if [[ -z "${SKIP_READINESS}" ]]; then

0 commit comments

Comments
 (0)