Add initContainers
initContainers are supported by Podman:
- https://github.com/containers/podman/pull/11011
- https://docs.podman.io/en/latest/markdown/podman-create.1.html#init-ctr-type-pods-only
in the format podman create --init-ctr=<always|once>
which then should be started with podman start
. The format is the same as for spec.containers
just in the place spec.initContainers
:
spec:
initContainers:
- name: mycontainer
image: alpine:latest
...
We should also decide if we want to support both always
and once
values. Kubernetes only knows the always
type, podman has both.
Edited by strix