redhat-developer / opencompose

OpenCompose - A higher level abstraction for Kubernetes Resource
Apache License 2.0
64 stars 12 forks source link

Support for initContainers #126

Open surajssd opened 7 years ago

surajssd commented 7 years ago

Add support for initContainers in OpenCompose. Might need an extra field in the way we define containers, just adding an extra field which defines a container in the list of containers is a normal pod's container or init container.

Docs: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ API references: https://kubernetes.io/docs/api-reference/v1.6/#podspec-v1-core