From 1d786e49e9fc8b39e29cced5304a83b8b175c396 Mon Sep 17 00:00:00 2001 From: fml2 <534392+fml2@users.noreply.github.com> Date: Sat, 27 Nov 2021 23:26:26 +0100 Subject: [PATCH] Fix typos in the "External Application Properties" section See gh-28830 --- .../src/docs/asciidoc/features/external-config.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc index f8d29f5fdc23..421422737799 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc @@ -354,7 +354,7 @@ It's not uncommon to use environment variables for such purposes, but this can h As an alternative to environment variables, many cloud platforms now allow you to map configuration into mounted data volumes. For example, Kubernetes can volume mount both https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#populate-a-volume-with-data-stored-in-a-configmap[`ConfigMaps`] and https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-files-from-a-pod[`Secrets`]. -There are two common volume mount patterns that can be use: +There are two common volume mount patterns that can be used: . A single file contains a complete set of properties (usually written as YAML). . Multiple files are written to a directory tree, with the filename becoming the '`key`' and the contents becoming the '`value`'. @@ -504,7 +504,7 @@ WARNING: Multi-document property files cannot be loaded by using the `@PropertyS [[features.external-config.files.activation-properties]] ==== Activation Properties -It's sometimes useful to only activate a given get of properties when certain conditions are met. +It's sometimes useful to only activate a given set of properties when certain conditions are met. For example, you might have properties that are only relevant when a specific profile is active. You can conditionally activate a properties document using `spring.config.activate.*`.