The following table shows some examples of patterns for configuring your service with an optional extra repository. Required when the URI begins with or ssh://. The SSH private key to access Git repository. Required when the Git repository server supports HTTP basic authentication. The password or personal access token used to access the Git repository server. ![]() The username used to access the Git repository server. Should be the branch name, tag name, or commit IOD of the repository. For each pattern, use the format format with wildcards. Required only if repos exists.Īn array of strings used to match an application name. Should begin with or ssh://.Ī name to identify the repository for example, team-A or team-B. The URI of the Git repository that's used as the Config Server back end. PropertyĪ map consisting of the settings for a Git repository with a given name. For example, use default-label, not defaultLabel. Using a hyphen (-) to separate words is the only naming convention that's currently supported. Indicates whether the Config Server instance fails to start when using the private host-key. Should be ssh-dss, ssh-rsa, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521. Shouldn't include the algorithm prefix as covered by host-key-algorithm. The host key of the Git repository server. Required when the URI starts with or ssh://. The SSH private key to access the Git repository. Should be the branch name, tag name, or commit ID of the repository.Īn array of strings used to search subdirectories of the Git repository. The URI of the Git repository used as the Config Server back end. For example, you can use default-label, but not defaultLabel. If you also configure those properties from your Config Server files, you might experience conflicts and unexpected behavior. The following properties are automatically injected into your application environment to access Config Server and Service Discovery. There are some restrictions when you use Config Server with a Git back end. Spring Cloud Config Server isn't applicable to the Enterprise plan. ![]() To set up and launch an Azure Spring Apps service, see Quickstart: Deploy your first application to Azure Spring Apps.
0 Comments
Leave a Reply. |