From d64b052a54f529ec74fd36eb4d48c689190604f9 Mon Sep 17 00:00:00 2001 From: Chris <6834943+christophercarney@users.noreply.github.com> Date: Thu, 21 Nov 2019 16:41:29 -0500 Subject: [PATCH] Add caution to behavior of --from-env-file (#17585) * Add caution to behavior of --from-env-file * Reword warning to fix grammar --- .../configure-pod-container/configure-pod-configmap.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/en/docs/tasks/configure-pod-container/configure-pod-configmap.md b/content/en/docs/tasks/configure-pod-container/configure-pod-configmap.md index f5129cfadb..bdfe042dd8 100644 --- a/content/en/docs/tasks/configure-pod-container/configure-pod-configmap.md +++ b/content/en/docs/tasks/configure-pod-container/configure-pod-configmap.md @@ -223,7 +223,11 @@ data: lives: "3" ``` -When passing `--from-env-file` multiple times to create a ConfigMap from multiple data sources, only the last env-file is used: +{{< caution >}} +When passing `--from-env-file` multiple times to create a ConfigMap from multiple data sources, only the last env-file is used. +{{< /caution >}} + +The behavior of passing `--from-env-file` multiple times is demonstrated by: ```shell # Download the sample files into `configure-pod-container/configmap/` directory