Skip to content

Commit

Permalink
chore(docs): update install script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose-Matsuda committed May 31, 2024
1 parent 4952a06 commit 05bde34
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/dev/getting-started/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ AZCLI_URL=https://aka.ms/InstallAzureCLIDeb
ARGO_CLI_VERSION=latest # v3.4.5
ARGO_CLI_URL=https://github.com/argoproj/argo-workflows/releases/download/${ARGO_CLI_VERSION}/argo-linux-amd64.gz

# kubectl
curl -LO "${KUBECTL_URL}" \
&& curl -LO "https://dl.k8s.io/release/KUBECTL_URL/bin/linux/amd64/kubectl.sha256" \
&& echo "${KUBECTL_SHA} kubectl" | sha256sum -c - \
&& chmod +x ./kubectl \
&& sudo mv ./kubectl /usr/local/bin/kubectl \
&& \
# AzureCLI - installation script from Azure
curl -sLO "${AZCLI_URL}" \
&& bash InstallAzureCLIDeb \
Expand All @@ -48,6 +41,9 @@ ARGO_CLI_URL=https://github.com/argoproj/argo-workflows/releases/download/${ARGO
&& chmod +x argo-linux-amd64 \
&& sudo mv ./argo-linux-amd64 /usr/local/bin/argo \
&& argo version

# Install kubectl and kubelogin
az aks install-cli
```

2. Make the script executable
Expand All @@ -59,7 +55,7 @@ chmod +x install-tools.sh
3. Run the script

``` bash
./install-tools.sh
sudo ./install-tools.sh
```

## Connect to the Kubernetes Cluster
Expand Down

0 comments on commit 05bde34

Please sign in to comment.