Skip to content

Commit cb328a8

Browse files
fix table
1 parent 8e644f3 commit cb328a8

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

articles/container-apps/java-spring-cloud-config-server-usage.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,25 @@ The following table lists the different configuration values available.
5656

5757
`spring.cloud.config.server.git`
5858

59-
| Name | Description |
60-
|--|--|
61-
| `uri` <br/> `repos.{repoName}.uri` | URI of remote repository. |
62-
| `username` <br/> `repos.{repoName}.username` | Username for authentication with remote repository. |
63-
| `password` <br/> `repos.{repoName}.password` | Password for authentication with remote repository. |
64-
| `search-paths` <br/> `repos.{repoName}.search-paths` | Search paths to use within local working copy. By default searches only the root. |
65-
| `force-pull` <br/> `repos.{repoName}.force-pull` | Flag to indicate that the repository should force pull. If true discard any local changes and take from remote repository. |
66-
| `default-label` <br/> `repos.{repoName}.default-label` | The default label used for Git is `main`. If you don't set `default-label` and a branch named `main` doesn't exist, the config server will by default also try to check out a branch named `master`. If you would like to disable the fallback branch behavior you can set `tryMasterBranch` to `false`. |
67-
| `try-master-branch` <br/> `repos.{repoName}.try-master-branch` | The config server by default tries to check out a branch named `master`. | `true` |
68-
| `skip-ssl-validation` <br/> `repos.{repoName}.skip-ssl-validation` | The configuration server’s validation of the Git server’s SSL certificate can be disabled by setting the `git.skipSslValidation` property to `true`. |
69-
| `clone-on-start` <br/> `repos.{repoName}.clone-on-start` | Flag to indicate that the repository should be cloned on startup (not on demand). Generally leads to slower startup but faster first query. |
70-
| `timeout` <br/> `repos.{repoName}.timeout` | Timeout (in seconds) for obtaining HTTP or SSH connection (if applicable). Default 5 seconds. |
71-
| `refresh-rate` <br/> `repos.{repoName}.refresh-rate` | How often the config server fetches updated configuration data from your Git backend. |
72-
| `private-key` <br/> `repos.{repoName}.private-key` | Valid SSH private key. Must be set if `ignore-local-ssh-settings` is `true` and Git URI is SSH format. |
73-
| `host-key` <br/> `repos.{repoName}.host-key` | Valid SSH host key. Must be set if `host-key-algorithm` is also set. |
74-
| `host-key-algorithm` <br/> `repos.{repoName}.host-key-algorithm` | One of `ssh-dss`, `ssh-rsa`, `ssh-ed25519`, `ecdsa-sha2-nistp256`, `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`. Must be set if `host-key` is also set. |
75-
| `strict-host-key-checking` <br/> `repos.{repoName}.strict-host-key-checking` | `true` or `false`. If `false`, ignore errors with host key. |
76-
| `repos.{repoName}` | URI of remote repository. |
77-
| `repos.{repoName}.pattern` | The pattern format is a comma-separated list of {application}/{profile} names with wildcards. If {application}/{profile} doesn't match any of the patterns, it uses the default URI defined under. |
59+
| Name | Property path | Description |
60+
|---|---|---|
61+
| URI | `repos.{repoName}.uri` | URI of remote repository. |
62+
| Username | `repos.{repoName}.username` | Username for authentication with remote repository. |
63+
| Password | `repos.{repoName}.password` | Password for authentication with remote repository. |
64+
| Search paths | `repos.{repoName}.search-paths` | Search paths to use within local working copy. By default searches only the root. |
65+
| Force pull | `repos.{repoName}.force-pull` | Flag to indicate that the repository should force pull. If true discard any local changes and take from remote repository. |
66+
| Default label | `repos.{repoName}.default-label` | The default label used for Git is `main`. If you don't set `default-label` and a branch named `main` doesn't exist, the config server will by default also try to check out a branch named `master`. If you would like to disable the fallback branch behavior you can set `tryMasterBranch` to `false`. |
67+
| Try master branch | `repos.{repoName}.try-master-branch` | The config server by default tries to check out a branch named `master`. | `true` |
68+
| Skip SSL validation | `repos.{repoName}.skip-ssl-validation` | The configuration server’s validation of the Git server’s SSL certificate can be disabled by setting the `git.skipSslValidation` property to `true`. |
69+
| Clone-on-start | `repos.{repoName}.clone-on-start` | Flag to indicate that the repository should be cloned on startup (not on demand). Generally leads to slower startup but faster first query. |
70+
| Timeout | `repos.{repoName}.timeout` | Timeout (in seconds) for obtaining HTTP or SSH connection (if applicable). Default 5 seconds. |
71+
| Refresh rate | `repos.{repoName}.refresh-rate` | How often the config server fetches updated configuration data from your Git backend. |
72+
| Private key | `repos.{repoName}.private-key` | Valid SSH private key. Must be set if `ignore-local-ssh-settings` is `true` and Git URI is SSH format. |
73+
| Host key | `repos.{repoName}.host-key` | Valid SSH host key. Must be set if `host-key-algorithm` is also set. |
74+
| Host key algorithm` | `repos.{repoName}.host-key-algorithm` | One of `ssh-dss`, `ssh-rsa`, `ssh-ed25519`, `ecdsa-sha2-nistp256`, `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`. Must be set if `host-key` is also set. |
75+
| Strict host key checking | `repos.{repoName}.strict-host-key-checking` | `true` or `false`. If `false`, ignore errors with host key. |
76+
| Repo location | `repos.{repoName}` | URI of remote repository. |
77+
| Repo name patterns | `repos.{repoName}.pattern` | The pattern format is a comma-separated list of {application}/{profile} names with wildcards. If {application}/{profile} doesn't match any of the patterns, it uses the default URI defined under. |
7878

7979
### Common configurations
8080

@@ -87,6 +87,7 @@ The following table lists the different configuration values available.
8787
- Any other configurations under logging.* namespace should be forbidden, for example, writing log files by using `logging.file` should be forbidden.
8888

8989
- **spring.cloud.config.server.overrides**
90+
9091
- Extra map for a property source to be sent to all clients unconditionally.
9192

9293
- **spring.cloud.config.override-none**

0 commit comments

Comments
 (0)