Skip to content

Commit

Permalink
Change Azure region to match allowed list
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalKorepta committed Dec 12, 2023
1 parent bba30a8 commit 7bc0666
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .buildkite/capi/aks-cluster/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# aks-cluster

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

A Helm chart for aks capi clusters

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| clientID | string | `""` | |
| clientSecret.name | string | `""` | |
| clientSecret.namespace | string | `""` | |
| controlPlaneReplicas | int | `1` | |
| kubernetesVersion | string | `"1.26.3"` | |
| location | string | `"eastus2"` | |
| resourceGroup | string | `""` | |
| subscriptionID | string | `""` | |
| tenantID | string | `""` | |
| workerReplicas | int | `1` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
2 changes: 1 addition & 1 deletion .buildkite/capi/aks-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
kubernetesVersion: 1.26.3

# Name of the Azure datacenter location. Change this value to your desired location
location: "westus2"
location: "eastus2"

clientID: ""
tenantID: ""
Expand Down
5 changes: 2 additions & 3 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,16 @@ test_aks() {
--password $AZURE_CLIENT_SECRET \
--tenant $AZURE_TENANT_ID

# the westus2 is used as buildkite is deployed in us-west-2 which is close to Azure westus2 (Maybe in the same city)
docker run -v $(realpath .azure):/root/.azure mcr.microsoft.com/azure-cli:2.50.0 \
az group create \
--name $TEST_RESOURCE_GROUP \
--location westus2
--location eastus2

docker run -v $(realpath .azure):/root/.azure mcr.microsoft.com/azure-cli:2.50.0 \
az storage account create \
--name $TEST_STORAGE_ACCOUNT \
--resource-group $TEST_RESOURCE_GROUP \
--location westus2 \
--location eastus2 \
--sku Standard_RAGRS \
--kind StorageV2

Expand Down

0 comments on commit 7bc0666

Please sign in to comment.