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
description: "Review and test changes from a pull request directly in Azure Kubernetes Service using GitHub Actions and Azure Dev Spaces"
7
7
keywords: "Docker, Kubernetes, Azure, AKS, Azure Kubernetes Service, containers, GitHub Actions, Helm, service mesh, service mesh routing, kubectl, k8s"
@@ -52,14 +52,13 @@ az ad sp create-for-rbac --sdk-auth --skip-assignment
52
52
53
53
Save the JSON output because it is used in a later step.
54
54
55
-
56
-
Use [az aks show][az-aks-show] to display the *id* of your AKS cluster:
55
+
Use [az aks show][az-aks-show] to display the *ID* of your AKS cluster:
57
56
58
57
```cmd
59
58
az aks show -g MyResourceGroup -n MyAKS --query id
60
59
```
61
60
62
-
Use [az acr show][az-acr-show] to display the *id* of the ACR:
61
+
Use [az acr show][az-acr-show] to display the *ID* of the ACR:
63
62
64
63
```cmd
65
64
az acr show --name <acrName> --query id
@@ -87,7 +86,6 @@ Navigate to your forked repository and click *Settings*. Click on *Secrets* in t
87
86
1.*CLUSTER_NAME*: the name of your AKS cluster, which in this example is *MyAKS*.
88
87
1.*CONTAINER_REGISTRY*: the *loginServer* for the ACR.
89
88
1.*HOST*: the host for your Dev Space, which takes the form *<MASTER_SPACE>.<APP_NAME>.<HOST_SUFFIX>*, which in this example is *dev.bikesharingweb.fedcab0987.eus.azds.io*.
90
-
1.*HOST_SUFFIX*: the host suffix for your Dev Space, which in this example is *fedcab0987.eus.azds.io*.
91
89
1.*IMAGE_PULL_SECRET*: the name of the secret you wish to use, for example *demo-secret*.
92
90
1.*MASTER_SPACE*: the name of your parent Dev Space, which in this example is *dev*.
93
91
1.*REGISTRY_USERNAME*: the *clientId* from the JSON output from the service principal creation.
@@ -96,6 +94,8 @@ Navigate to your forked repository and click *Settings*. Click on *Secrets* in t
96
94
> [!NOTE]
97
95
> All of these secrets are used by the GitHub action and are configured in [.github/workflows/bikes.yml][github-action-yaml].
98
96
97
+
Optionally, if you want to update the master space after your PR is merged, add the *GATEWAY_HOST* secret, which takes the form *<MASTER_SPACE>.gateway.<HOST_SUFFIX>*, which in this example is *dev.gateway.fedcab0987.eus.azds.io*. Once you merge your changes into the master branch in your fork, another action will run to rebuild and run your entire application in the master dev space. In this example, the master space is *dev*. This action is configured in [.github/workflows/bikesharing.yml][github-action-bikesharing-yaml].
98
+
99
99
## Create a new branch for code changes
100
100
101
101
Navigate to `BikeSharingApp/` and create a new branch called *bike-images*.
0 commit comments