Skip to content

Commit

Permalink
Create install-istio.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dagz55 authored May 11, 2024
1 parent 55e6b49 commit 848474c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions install-istio.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# Fetch the latest Istio version
ISTIO_VERSION=$(curl -L https://istio.io/downloadIstio | grep -oP 'istio-\K\d+\.\d+\.\d+')

# Download and install Istio
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=${ISTIO_VERSION} sh -

# Move the istioctl binary to /usr/local/bin/
mv istio-${ISTIO_VERSION}/bin/istioctl /usr/local/bin/

# Clean up the downloaded Istio directory
rm -rf istio-${ISTIO_VERSION}

0 comments on commit 848474c

Please sign in to comment.