Skip to content

Commit d56a9af

Browse files
committed
reverting changes made outside of Enable/Disable for now
1 parent e3d2542 commit d56a9af

File tree

1 file changed

+21
-29
lines changed

1 file changed

+21
-29
lines changed

articles/spring-apps/how-to-enterprise-application-configuration-service.md

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.custom: devx-track-java, event-tier1-build-2022, engagement-fy23
1717
1818
**This article applies to:** ❌ Basic/Standard tier ✔️ Enterprise tier
1919

20-
This article shows how to use Application Configuration Service for VMware Tanzu® with Azure Spring Apps Enterprise Tier.
20+
This article shows you how to use Application Configuration Service for VMware Tanzu® with Azure Spring Apps Enterprise Tier.
2121

2222
[Application Configuration Service for VMware Tanzu](https://docs.pivotal.io/tcs-k8s/0-1/) is one of the commercial VMware Tanzu components. It enables the management of Kubernetes-native `ConfigMap` resources that are populated from properties defined in one or more Git repositories.
2323

@@ -28,34 +28,29 @@ With Application Configuration Service for Tanzu, you have a central place to ma
2828
- An already provisioned Azure Spring Apps Enterprise tier instance with Application Configuration Service for Tanzu enabled. For more information, see [Quickstart: Build and deploy apps to Azure Spring Apps using the Enterprise tier](quickstart-deploy-apps-enterprise.md).
2929

3030
> [!NOTE]
31-
> To use Application Configuration Service for Tanzu, you must enable it when you provision your Azure Spring Apps service instance. You can't enable the service after you provision the instance.
31+
> To use Application Configuration Service for Tanzu, you must enable it when you provision your Azure Spring Apps service instance. You can't enable it after you provision the instance.
3232
3333
## Manage Application Configuration Service for Tanzu settings
3434

3535
Application Configuration Service for Tanzu supports Azure DevOps, GitHub, GitLab, and Bitbucket for storing your configuration files.
3636

37-
To manage service settings in your Azure Spring Apps instance, perform the following steps:
38-
39-
1. Select **Application Configuration Service** under **VMWare Tanzu components** in the navigation pane.
40-
41-
1. Select **Settings** and add a new entry is **Repositories**.
37+
To manage the service settings, open the **Settings** section and add a new entry under the **Repositories** section.
4238

4339
:::image type="content" source="media/how-to-enterprise-application-configuration-service/config-service-settings.png" alt-text="Screenshot of the Application Configuration Service page showing how to add a repository." lightbox="media/how-to-enterprise-application-configuration-service/config-service-settings.png":::
4440

4541
The following table describes properties for each entry.
4642

47-
| Property | Required | Description |
48-
|---------------------|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
49-
| **Name** | Yes | A unique name to label each Git repository. |
50-
| **Patterns** | Yes | Patterns to search in Git repositories. For each pattern, use a format such as *{application}* or *{application}/{profile}* rather than *{application}-{profile}.yml*. Separate the patterns with commas. For more information, see the [Pattern](./how-to-enterprise-application-configuration-service.md#pattern) section of this article. |
51-
| **URI** | Yes | A Git URI. For example: `https://github.com/Azure-Samples/piggymetrics-config` or `[email protected]:Azure-Samples/piggymetrics-config` |
52-
| **Label** | Yes | The branch name to search in the Git repository. |
53-
| **Search path** | No | Optional search paths, separated by commas, for searching subdirectories of the Git repository. |
54-
| **Authentication** | Yes | Select from supported authentications. |
43+
| Property | Required? | Description |
44+
|---------------|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
45+
| `Name` | Yes | A unique name to label each Git repository. |
46+
| `Patterns` | Yes | Patterns to search in Git repositories. For each pattern, use a format such as *{application}* or *{application}/{profile}* rather than *{application}-{profile}.yml*. Separate the patterns with commas. For more information, see the [Pattern](./how-to-enterprise-application-configuration-service.md#pattern) section of this article. |
47+
| `URI` | Yes | A Git URI (for example, `https://github.com/Azure-Samples/piggymetrics-config` or `[email protected]:Azure-Samples/piggymetrics-config`) |
48+
| `Label` | Yes | The branch name to search in the Git repository. |
49+
| `Search path` | No | Optional search paths, separated by commas, for searching subdirectories of the Git repository. |
5550

5651
### Pattern
5752

58-
A configuration is pulled from Git backends by using what you define in a pattern. A pattern is a combination of *{application}/{profile}* as described in the following guidelines.
53+
Configuration is pulled from Git backends by using what you define in a pattern. A pattern is a combination of *{application}/{profile}* as described in the following guidelines.
5954

6055
- *{application}* - The name of an application whose configuration you're retrieving. The value `application` is considered the default application and includes configuration information shared across multiple applications. Any other value refers to a specific application and includes properties for both the specific application and shared properties for the default application.
6156
- *{profile}* - Optional. The name of a profile whose properties you may be retrieving. An empty value, or the value `default`, includes properties that are shared across profiles. Non-default values include properties for the specified profile and properties for the default profile.
@@ -83,15 +78,15 @@ The following image shows the three types of repository authentication supported
8378

8479
The following table shows the configurable properties you can use to set up a private Git repository with SSH.
8580

86-
| Property | Required | Description |
81+
| Property | Required? | Description |
8782
|----------------------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
8883
| `Private key` | Yes | The private key that identifies the Git user. Passphrase-encrypted private keys aren't supported. |
8984
| `Host key` | No | The host key of the Git server. If you've connected to the server via Git on the command line, the host key is in your *.ssh/known_hosts* file. Don't include the algorithm prefix, because it's specified in `Host key algorithm`. |
90-
| `Host key algorithm` | No | The algorithm for `Host Key`: one of `ssh-dss`, `ssh-rsa`, `ecdsa-sha2-nistp256`, `ecdsa-sha2-nistp384`, and `ecdsa-sha2-nistp521`. Required if supplying `Host key`. |
85+
| `Host key algorithm` | No | The algorithm for `HostKey`: one of `ssh-dss`, `ssh-rsa`, `ecdsa-sha2-nistp256`, `ecdsa-sha2-nistp384`, and `ecdsa-sha2-nistp521`. Required if supplying `Host key`. |
9186
| `Strict host key checking` | No | Optional value that indicates whether the backend should be ignored if it encounters an error when using the provided `Host key`. Valid values are `true` and `false`. The default value is `true`. |
9287

9388
> [!NOTE]
94-
> Application Configuration Service for Tanzu currently uses RSA keys with SHA-1 signatures. If you're using GitHub, for the RSA public keys added to GitHub before November 2, 2021, the corresponding private key is supported. For the RSA public keys added to GitHub after November 2, 2021, the corresponding private key is not supported and we suggest using basic authentication.
89+
> Application Configuration Service for Tanzu uses RSA keys with SHA-1 signatures for now. If you're using GitHub, for RSA public keys added to GitHub before November 2, 2021, the corresponding private key is supported. For RSA public keys added to GitHub after November 2, 2021, the corresponding private key is not supported, and we suggest using basic authentication instead.
9590
9691
To validate access to the target URI, select **Validate**. After validation completes successfully, select **Apply** to update the configuration settings.
9792

@@ -105,7 +100,7 @@ Use the following steps to refresh your application configuration after you upda
105100

106101
1. Load the configuration to your application.
107102

108-
A Spring application holds the properties as the beans of the Spring Application Context via the Environment interface. The following scenarios show different ways to load the new configurations:
103+
A Spring application holds the properties as the beans of the Spring Application Context via the Environment interface. The following list shows several ways to load the new configurations:
109104

110105
- Restart the application. Restarting the application always loads the new configuration.
111106

@@ -144,12 +139,10 @@ A Spring application holds the properties as the beans of the Spring Application
144139
curl -X POST http://{app-endpoint}/actuator/refresh
145140
```
146141

147-
## Configure Application Configuration Service for Tanzu settings
142+
## Configure Application Configuration Service for Tanzu settings using the portal
148143

149144
Use the following steps to configure Application Configuration Service for Tanzu using the portal.
150145

151-
### [Azure portal](#tab/Portal)
152-
153146
1. Select **Application Configuration Service**.
154147
1. Select **Overview** to view the running state and resources allocated to Application Configuration Service for Tanzu.
155148

@@ -161,9 +154,10 @@ Use the following steps to configure Application Configuration Service for Tanzu
161154

162155
:::image type="content" source="media/how-to-enterprise-application-configuration-service/config-service-settings.png" alt-text="Screenshot of the Application Configuration Service page showing the Settings tab." lightbox="media/how-to-enterprise-application-configuration-service/config-service-settings.png":::
163156

164-
### [Azure CLI](#tab/Azure-CLI)
157+
## Configure Application Configuration Service for Tanzu settings using the CLI
158+
159+
Use the following steps to configure Application Configuration Service for Tanzu using the CLI.
165160

166-
Use the following steps to configure Application Configuration Service for Tanzu.
167161
```azurecli
168162
az spring application-configuration-service git repo add \
169163
--name <entry-name> \
@@ -172,12 +166,10 @@ az spring application-configuration-service git repo add \
172166
--label <git-branch-name>
173167
```
174168

175-
## Use Application Configuration Service for Tanzu with applications
169+
## Use Application Configuration Service for Tanzu with applications using the portal
176170

177171
When you use Application Configuration Service for Tanzu with a Git back end and use the centralized configurations, you must bind the app to Application Configuration Service for Tanzu. After binding the app, use the following steps to configure the pattern to be used by the app.
178172

179-
### [Azure portal](#tab/Portal)
180-
181173
1. Open the **App binding** tab.
182174

183175
1. Select **Bind app** and choose one app in the dropdown. Select **Apply** to bind.
@@ -201,7 +193,7 @@ When you use Application Configuration Service for Tanzu with a Git back end and
201193

202194
1. Select **Save**
203195

204-
### [Azure CLI](#tab/Azure-CLI)
196+
## Use Application Configuration Service for Tanzu with applications using the CLI
205197

206198
Use the following command to use Application Configuration Service for Tanzu with applications.
207199

0 commit comments

Comments
 (0)