From 05bde34b43fd1fa403b050e79f8474f36c194c43 Mon Sep 17 00:00:00 2001 From: Jose Matsuda Date: Fri, 31 May 2024 10:23:23 -0400 Subject: [PATCH 1/2] chore(docs): update install script --- docs/dev/getting-started/setup.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/dev/getting-started/setup.md b/docs/dev/getting-started/setup.md index 6e894debd..3b18713b4 100644 --- a/docs/dev/getting-started/setup.md +++ b/docs/dev/getting-started/setup.md @@ -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 \ @@ -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 @@ -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 From 248fa4364cdc8aa7fcfe5f9aa64da61f9182663d Mon Sep 17 00:00:00 2001 From: Jose Matsuda Date: Fri, 31 May 2024 10:25:04 -0400 Subject: [PATCH 2/2] oops --- docs/dev/getting-started/setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dev/getting-started/setup.md b/docs/dev/getting-started/setup.md index 3b18713b4..f522a5a55 100644 --- a/docs/dev/getting-started/setup.md +++ b/docs/dev/getting-started/setup.md @@ -55,7 +55,7 @@ chmod +x install-tools.sh 3. Run the script ``` bash -sudo ./install-tools.sh +./install-tools.sh ``` ## Connect to the Kubernetes Cluster