Makes default-label in CredhubEnvironmentRepository configurable (#2519)

* Makes default-label in CredhubEnvironmentRepository configurable

Signed-off-by: kvmw <mshamsi@broadcom.com>

* Updates CredHub docs

Signed-off-by: kvmw <mshamsi@broadcom.com>

---------

Signed-off-by: kvmw <mshamsi@broadcom.com>
This commit is contained in:
Kaveh Shamsi
2024-09-06 17:50:15 +02:00
committed by GitHub
parent 0caa87a63e
commit 96b5775cb8
5 changed files with 51 additions and 10 deletions

View File

@@ -52,7 +52,10 @@ All client applications with the name `spring.cloud.config.name=demo-app` will h
}
----
NOTE: When no profile is specified `default` will be used and when no label is specified `master` will be used as a default value.
NOTE: When no label is specified `master` will be used as a default value. You can change that by setting `spring.cloud.config.server.credhub.defaultLabel`.
NOTE: When no profile is specified `default` will be used.
NOTE: Values added to `application` will be shared by all the applications.
[[oauth-2-0]]