You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure/README.md
+3-15Lines changed: 3 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Please note that this setup relies on bash scripts that have been tested in MacO
21
21
22
22
## Installation
23
23
24
-
**Note-I**: We create resources in `east us` by default. You can set the region by editing `terraform.tfvars`.
24
+
**Note-I**: We create resources in `east us` by default. You can set the region by editing [`terraform.tfvars`](./terraform.tfvars).
25
25
26
26
**Note-II**: The cluster you create has its access bound to the public IP of the creator. In other words: the cluster you create with this code has its access bound to your public IP-address if you apply it locally. If you switched to a different network, you'll need to run `terraform apply` again to update the firewall rules.
27
27
@@ -43,7 +43,7 @@ terraform init
43
43
terraform apply
44
44
```
45
45
46
-
The storage account name should be in the output. Please use that to configure the Terraform backend in `main.tf` by uncommenting the part on the `backend "azurerm"` inside the `terraform` block. Assign the `storage_account_name` to the one from the output.
46
+
The storage account name should be in the output. Please use that to configure the Terraform backend in [`main.tf`](./main.tf) by uncommenting the part on the `backend "azurerm"` inside the `terraform` block. Assign the `storage_account_name` to the one from the output.
47
47
48
48
**Note**: You'll need to follow the description [below](#wrongsecrets-ctf-party) in step 1 for the "existing resource group" i.e., use the `azurerm_resource_group.default` resource.
49
49
@@ -58,19 +58,7 @@ The storage account name should be in the output. Please use that to configure t
58
58
4. Run `terraform init` (if required, use `tfenv` to select TF 0.14.0 or higher )
59
59
5. Run `terraform plan` to see what will be created (optional).
60
60
6. Run `terraform apply`. Note: the apply will take 5 to 20 minutes depending on the speed of the Azure backplane.
61
-
7. Go to the values of the helm chart and replace the wrongsecrets.config with this:
62
-
63
-
```yaml
64
-
K8S_ENV: "azure"
65
-
```
66
-
67
-
and replace the value of wrongsecrets.env having the name 'K8S_ENV' with this:
68
-
69
-
```yaml
70
-
value: "azure"
71
-
```
72
-
73
-
8. Run `./build-and-deploy-azure.sh`. Your kubeconfig file will automatically be updated.
61
+
7. Run `./build-and-deploy-azure.sh`. Your kubeconfig file will automatically be updated.
74
62
75
63
Your AKS cluster should be visible in your resource group. Want a different region? You can modify `terraform.tfvars` or input it directly using the `region` variable in plan/apply.
0 commit comments