diff --git a/vault/spring-cloud-config.html b/vault/spring-cloud-config.html index d6f1ba27..f4b6d4b6 100644 --- a/vault/spring-cloud-config.html +++ b/vault/spring-cloud-config.html @@ -1100,6 +1100,21 @@ search).

+

Version Control Backend Filesystem Use

+
+ + + + + +
+
Warning
+
+With VCS based backends (git, svn) files are checked out or cloned to the local filesystem. By default they are put in the system temporary directory with a prefix of config-repo-. On linux, for example it could be /tmp/config-repo-<randomid>. Some operating systems routinely clean out temporary directories. This can lead to unexpected behaviour such as missing properties. To avoid this problem, change the directory Config Server uses, by setting spring.cloud.config.server.git.basedir or spring.cloud.config.server.svn.basedir to a directory that does not reside in the system temp structure. +
+
+
+

File System Backend

There is also a "native" profile in the Config Server that doesn’t use @@ -1601,7 +1616,7 @@ as YAML or Java properties by adding a suffix to the resource path (".yml", ".yaml" or ".properties"). This can be useful for consumption by applications that do not care about the structure of the JSON endpoints, or the extra metadata they provide, for example an -application that is not using Spring might benefit fro mthe simplicity +application that is not using Spring might benefit from the simplicity of this approach.

@@ -2040,7 +2055,7 @@ grabbing it in the bootstrap context and injecting one).