Skip to content

Commit b82c41f

Browse files
Update how-to-config-server.md
1 parent 47f35bd commit b82c41f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/spring-cloud/how-to-config-server.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ All configurable properties used to set up private Git repository with basic aut
102102
> Many `Git` repository servers support the use of tokens rather than passwords for HTTP Basic Authentication. Some repositories allow tokens to persist indefinitely. However, some Git repository servers, including Azure DevOps Server, force tokens to expire in a few hours. Repositories that cause tokens to expire should not use token-based authentication with Azure Spring Cloud.
103103
> Github has removed support for password authentication, so you'll need to use a personal access token instead of password authentication for Github. For more information, see [Token authentication](https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/).
104104
105-
### Git repositories with pattern
105+
### Git `Additional repositories`
106106

107107
All configurable properties used to set up Git repositories with pattern are listed below.
108108

@@ -124,6 +124,10 @@ All configurable properties used to set up Git repositories with pattern are lis
124124
| `repos."host-key-algorithm"` | No | The host key algorithm, should be *ssh-dss*, *ssh-rsa*, *ecdsa-sha2-nistp256*, *ecdsa-sha2-nistp384*, or *ecdsa-sha2-nistp521*. *Required* only if `host-key` exists. |
125125
| `repos."strict-host-key-checking"` | No | Indicates whether the Config Server instance will fail to start when leveraging the private `host-key`. Should be *true* (default value) or *false*. |
126126

127+
Here is one example of `Additional repositories` settings, you can learn more about it from [here](https://cloud.spring.io/spring-cloud-config/reference/html/#_pattern_matching_and_multiple_repositories).
128+
129+
![The Config Server Additional Repositories](media/spring-cloud-tutorial-config-server/additional-repositories.png)
130+
127131
## Attach your Config Server repository to Azure Spring Cloud
128132

129133
Now that your configuration files are saved in a repository, you need to connect Azure Spring Cloud to it.
@@ -170,9 +174,9 @@ Now that your configuration files are saved in a repository, you need to connect
170174

171175
![The Edit Authentication pane ssh auth](media/spring-cloud-tutorial-config-server/ssh-auth.png)
172176

173-
#### Pattern repository
177+
#### Additional repositories
174178

175-
If you want to use an optional **Pattern repository** to configure your service, specify the **URI** and **Authentication** the same way as the **Default repository**. Be sure to include a **Name** for your pattern, and then select **Apply** to attach it to your instance.
179+
If you want to use an optional **Additional repositories** to configure your service, specify the **URI** and **Authentication** the same way as the **Default repository**. Be sure to include a **Name** for your pattern, and then select **Apply** to attach it to your instance.
176180

177181
### Enter repository information into a YAML file
178182

0 commit comments

Comments
 (0)