Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/terraform/examples/kyma-on-btp-ne…
Browse files Browse the repository at this point in the history
…w-sa/hashicorp/kubernetes-tw-2.35.1
  • Loading branch information
kwiatekus authored Jan 3, 2025
2 parents a8e1b05 + 34cb326 commit c32b956
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,9 @@ resource "terraform_data" "wait-for-kyma-readiness" {
KUBECONFIG=kubeconfig.yaml
set -e -o pipefail ;\
if ! which kubectl; then
STABLE=$(curl -L -s https://dl.k8s.io/release/stable.txt)
echo "Installing kubectl ${STABLE}..."
curl -LO https://dl.k8s.io/release/${STABLE}/bin/linux/amd64/kubectl
curl -LO "https://dl.k8s.io/${STABLE}/bin/linux/amd64/kubectl.sha256" &> /dev/null
echo "Installing kubectl..."
curl -LO https://dl.k8s.io/release/v1.32.0/bin/linux/amd64/kubectl
curl -LO "https://dl.k8s.io/v1.32.0/bin/linux/amd64/kubectl.sha256" &> /dev/null
echo "Validating kubectl ..."
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
chmod +x kubectl
Expand Down

0 comments on commit c32b956

Please sign in to comment.