Update content/en/docs/tasks/configure-pod-container/configure-pod-configmap.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
Tom Kivlin
2022-07-21 07:50:27 +01:00
committed by GitHub
parent 8066c73a87
commit a24f7c6feb
@@ -707,7 +707,10 @@ spec:
restartPolicy: Never
```
When this Pod is run, the output will be empty.
If you run this pod, and there is no ConfigMap named `a-config`, the output is empty.
If you run this pod, and there is a ConfigMap named `a-config` but that ConfigMap doesn't have
a key named `akey`, the output is also empty. If you do set a value for `akey` in the `a-config`
ConfigMap, this pod prints that value and then terminates.
#### Optional ConfigMap via volume plugin