vallard / drone-kube

Drone Plugin for Kubernetes
30 stars 21 forks source link

Support multiple deployments in the same yaml file #3

Open MohamedBassem opened 7 years ago

MohamedBassem commented 7 years ago

YAML supports having multiple documents in the same file by splitting different documents with ---. Kubernetes supports this approach. When I kubectl apply -f template.yaml and it contains multiple deployments for instance, it applies all the deployments. drone-kube doesn't support that and I had to split my single template into multiple files and multiple build steps. Can we have support for that? Thanks!