Skip to content

Commit a24f7c6

Browse files
tomkivlinTim Bannister
andauthored
Update content/en/docs/tasks/configure-pod-container/configure-pod-configmap.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent 8066c73 commit a24f7c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,10 @@ spec:
707707
restartPolicy: Never
708708
```
709709

710-
When this Pod is run, the output will be empty.
710+
If you run this pod, and there is no ConfigMap named `a-config`, the output is empty.
711+
If you run this pod, and there is a ConfigMap named `a-config` but that ConfigMap doesn't have
712+
a key named `akey`, the output is also empty. If you do set a value for `akey` in the `a-config`
713+
ConfigMap, this pod prints that value and then terminates.
711714

712715
#### Optional ConfigMap via volume plugin
713716

0 commit comments

Comments
 (0)