Skip to content
Permalink
Browse files

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

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

* Reword warning to fix grammar
  • Loading branch information
christophercarney authored and k8s-ci-robot committed Nov 21, 2019
1 parent 085ef61 commit d64b052a54f529ec74fd36eb4d48c689190604f9
Showing with 5 additions and 1 deletion.
  1. +5 −1 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

0 comments on commit d64b052

Please sign in to comment.
You can’t perform that action at this time.