Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix --query parameter in install guide #1592

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/setup/install-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ Follow the steps below to create an Azure Active Directory (AAD) [service princi
1. Execute the commands below on the [Cloud Shell](https://shell.azure.com/) too. This will create the `kubernetesVersion` variable and save the latest version of kubernetes that is available in the location specified.
```bash
location="westus2"
kubernetesVersion=$(az aks get-versions --location $location --query "orchestrators[-1].orchestratorVersion" -o tsv)
patchedVersions=$(az aks get-versions --location $location --query "values[?isDefault==\`true\`].patchVersions" -o json)
kubernetesVersion=$(echo $patchedVersions | jq -r 'map(keys[]) | sort_by(split(".") | map(tonumber)) | .[-1]')
```

1. Paste the entire command below (it is a single command on multiple lines) in [Cloud Shell](https://shell.azure.com/) to create the `parameters.json` file. It will be used in the ARM template deployment.
Expand Down