summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Hrivnak <mhrivnak@hrivnak.org>2022-01-07 17:00:16 -0500
committerMichael Hrivnak <mhrivnak@hrivnak.org>2022-01-07 19:54:25 -0500
commit37c0b27b6f4af146ad66bf7a2465b8e334edb265 (patch)
tree7d54a799ea15e022baa6395ab7308815350c1a4b /docs
parent41934acc51c5046a56b17158d7f2b735961864ce (diff)
downloadpodman-37c0b27b6f4af146ad66bf7a2465b8e334edb265.tar.gz
podman-37c0b27b6f4af146ad66bf7a2465b8e334edb265.tar.bz2
podman-37c0b27b6f4af146ad66bf7a2465b8e334edb265.zip
[CI:DOCS] fixes indentation of example pod yaml
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 <mhrivnak@hrivnak.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-play-kube.1.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/markdown/podman-play-kube.1.md b/docs/source/markdown/podman-play-kube.1.md
index 81ab65176..390058b4a 100644
--- a/docs/source/markdown/podman-play-kube.1.md
+++ b/docs/source/markdown/podman-play-kube.1.md
@@ -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`.