Skip to content

Commit

Permalink
[Ubuntu] Fix minikube failure on ubuntu images (actions#11429)
Browse files Browse the repository at this point in the history
* Fix minqube installation

* Fix minqube installation
  • Loading branch information
kishorekumar-anchala authored Jan 20, 2025
1 parent ee530b0 commit c21e396
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions images/ubuntu/scripts/build/install-kubernetes-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ rm -f /etc/apt/sources.list.d/kubernetes.list
# Install Helm
curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash

# Temporarily pinning the version
# Download minikube
curl -fsSL -O https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
curl -fsSL -O https://storage.googleapis.com/minikube/releases/v1.34.0/minikube-linux-amd64

# Supply chain security - minikube
minikube_hash=$(get_checksum_from_github_release "kubernetes/minikube" "linux-amd64" "latest" "SHA256")
minikube_hash=$(get_checksum_from_github_release "kubernetes/minikube" "linux-amd64" "1.34.0" "SHA256")
use_checksum_comparison "minikube-linux-amd64" "${minikube_hash}"

# Install minikube
Expand Down

0 comments on commit c21e396

Please sign in to comment.