mirror of https://github.com/containers/podman.git
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:
parent
92bdd912b2
commit
5eb0a53a0a
|
|
@ -70,10 +70,7 @@ metadata:
|
|||
...
|
||||
spec:
|
||||
containers:
|
||||
- command:
|
||||
- top
|
||||
- name: container
|
||||
value: podman
|
||||
- name: container
|
||||
image: foobar
|
||||
...
|
||||
```
|
||||
|
|
@ -113,9 +110,7 @@ metadata:
|
|||
name: foobar
|
||||
spec:
|
||||
containers:
|
||||
- command:
|
||||
- top
|
||||
name: container-1
|
||||
- name: container-1
|
||||
image: foobar
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
|
|
@ -145,9 +140,7 @@ metadata:
|
|||
name: foobar
|
||||
spec:
|
||||
containers:
|
||||
- command:
|
||||
- top
|
||||
name: container-1
|
||||
- name: container-1
|
||||
image: foobar
|
||||
env:
|
||||
- name: FOO
|
||||
|
|
|
|||
Loading…
Reference in New Issue