Skip to content

Commit

Permalink
[CI:DOCS] fixes indentation of example pod yaml
Browse files Browse the repository at this point in the history
The example as previously shown would result in "Error: multi doc yaml
could not be split". The change here has been tested to work, and it
matches the example in the [kubernetes
docs](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#configure-all-key-value-pairs-in-a-configmap-as-container-environment-variables).

Signed-off-by: Michael Hrivnak <[email protected]>
  • Loading branch information
mhrivnak committed Jan 8, 2022
1 parent 41934ac commit 37c0b27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/markdown/podman-play-kube.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ spec:
name: container-1
image: foobar
envFrom:
- configMapRef:
name: foo
optional: false
- configMapRef:
name: foo
optional: false
```

and as a result environment variable `FOO` will be set to `bar` for container `container-1`.
Expand Down

0 comments on commit 37c0b27

Please sign in to comment.