Add caution to behavior of --from-env-file (#17585)

* Add caution to behavior of --from-env-file

* Reword warning to fix grammar
This commit is contained in:
Chris
2019-11-21 16:41:29 -05:00
committed by Kubernetes Prow Robot
parent 085ef61502
commit d64b052a54
@@ -223,7 +223,11 @@ data:
lives: "3" 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 ```shell
# Download the sample files into `configure-pod-container/configmap/` directory # Download the sample files into `configure-pod-container/configmap/` directory