mirror of https://github.com/containers/podman.git
[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>
This commit is contained in:
parent
41934acc51
commit
37c0b27b6f
|
@ -96,9 +96,9 @@ spec:
|
||||||
name: container-1
|
name: container-1
|
||||||
image: foobar
|
image: foobar
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: foo
|
name: foo
|
||||||
optional: false
|
optional: false
|
||||||
```
|
```
|
||||||
|
|
||||||
and as a result environment variable `FOO` will be set to `bar` for container `container-1`.
|
and as a result environment variable `FOO` will be set to `bar` for container `container-1`.
|
||||||
|
|
Loading…
Reference in New Issue