Open moklidia opened 2 years ago
This is becoming increasingly important for previews, too many container restarts if container is not up.
How is init container like depends_on in this case ? This seems to be a harder problem than init container considering that the depends on chain can be like a DAG (directed acyclic graph).
Might be useful to get some inspiration from the tekton entrypoint https://github.com/tektoncd/pipeline/blob/main/cmd/entrypoint/README.md
Add support for
depends_on
short and long syntax as described in the documentation.https://docs.docker.com/compose/compose-file/#depends_on
Kubernetes docs: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/