Update podman-kube-play.1.md.in

To avoid the error:
`Error: unable to read YAML as Kube Pod: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go struct field Container.spec.containers.command of type string`

Also makes it easier to understand as you only need the image parameter.

Signed-off-by: Daskan <kevin81991@web.de>
This commit is contained in:
Daskan
2023-09-09 21:41:41 +02:00
committed by GitHub
parent 92bdd912b2
commit 5eb0a53a0a

View File

@ -70,10 +70,7 @@ metadata:
... ...
spec: spec:
containers: containers:
- command: - name: container
- top
- name: container
value: podman
image: foobar image: foobar
... ...
``` ```
@ -113,9 +110,7 @@ metadata:
name: foobar name: foobar
spec: spec:
containers: containers:
- command: - name: container-1
- top
name: container-1
image: foobar image: foobar
envFrom: envFrom:
- configMapRef: - configMapRef:
@ -145,9 +140,7 @@ metadata:
name: foobar name: foobar
spec: spec:
containers: containers:
- command: - name: container-1
- top
name: container-1
image: foobar image: foobar
env: env:
- name: FOO - name: FOO