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: articles/azure-app-configuration/quickstart-container-apps.md
+2-29Lines changed: 2 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,9 +43,7 @@ To create the container app and container apps environment using the Azure CLI,
43
43
44
44
In the next step, you will add the connection string of your App Configuration store to the secret of your Container App and add an environment variable to your container to reference the secret. You use the [Service Connector](../service-connector/overview.md) to do this in a few steps without managing the connection information yourself.
45
45
46
-
#### [Portal](#tab/azure-portal)
47
-
48
-
Connect the container app to Azure App Configuration following the [Service Connector quickstart for Azure Container Apps](../service-connector/quickstart-portal-container-apps.md). While following the steps of the quickstart:
46
+
In the Azure portal, connect the container app to Azure App Configuration following the [Service Connector quickstart for Azure Container Apps](../service-connector/quickstart-portal-container-apps.md). While following the steps of the quickstart:
49
47
50
48
- In the **Basics** tab:
51
49
@@ -60,31 +58,6 @@ Connect the container app to Azure App Configuration following the [Service Conn
60
58
61
59
Once done, an environment variable named **ConnectionStrings__AppConfig** will be added to the container of your Container App. Its value is a reference of the Container App secret, the connection string of your App Configuration store. The _ConnectionStrings__AppConfig_ is the environment variable your app built from the quickstart will look for.
62
60
63
-
#### [Azure CLI](#tab/azure-cli)
64
-
65
-
Run the Azure CLI command `az containerapp connection connection create` to create a service connection from the container app, using a connection string.
66
-
67
-
```azurecli
68
-
az containerapp connection create appconfig \
69
-
--name my-container-app \ # the name of the container app
70
-
--resource-group myresourcegroup \ # the resource group that contains the container app
71
-
--container containerapps-helloworld \ #container where the connection information will be saved
72
-
--target-resource-group AppConfigTestResources \ # the resource group that contains the App Configuration store
73
-
--app-config MyAppConfiguration \ # the name of the App Configuration store
|`--name`|`my-container-app`| Enter the name of the container app. |
80
-
|`--resource-group`|`myresourcegroup`| Enter the name of the resource group that contains the container app. |
81
-
|`--container`|`containerapps-helloworld`| Enter the name of the container. |
82
-
|`--target-resource-group`|`AppConfigTestResources`| Enter the resource group that contains the App Configuration store. |
83
-
|`--app-config`|`MyAppConfiguration`| Enter the name of the App Configuration store. |
84
-
|`--secret`| Leave blank | Enter `--secret` to authenticate with connection string |
85
-
86
-
---
87
-
88
61
## Build the container
89
62
90
63
1. Run the [dotnet publish](/dotnet/core/tools/dotnet-publish) command to build the app in release mode and create the assets in the *published* folder.
@@ -171,7 +144,7 @@ Update the existing container app by importing the docker image you created and
171
144
1. Open your Azure Container Apps instance.
172
145
1. In the left menu, under **Application**, select **Containers**.
173
146
1. Select **Edit and deploy**.
174
-
1. Under **Container image**, select the name of the existing container image.
147
+
1. Under **Container image**, click on the name of the existing container image.
0 commit comments