OpenShift team created a nice way to describe application deployments

https://blog.openshift.com/kdl-notation-kubernetes-app-deploy/

The only question is - how to make this autogenerated from the set of YAML files.