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:49:41 +01:00
committed by GitHub
parent 673d1d7212
commit 00984b38b7
@@ -684,7 +684,8 @@ If the ConfigMap exists, but the referenced key is non-existent the path will be
#### Optional ConfigMap in environment variables
There might be situations where environment variables are not always required.
These environment variables can be marked as optional in a pod like so:
You can mark an environment variables for a container as optional,
like this:
```yaml
apiVersion: v1