opencompose
opencompose copied to clipboard
OpenCompose - A higher level abstraction for Kubernetes Resource
OpenCompose file should allow user to specify annotations on objects. Created after breakdown of #23
This is how opencompose errors when invalid input resource is passed - ``` [opencompose]$ opencompose convert -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-custombuild.json --output-dir - ERROR: could not find decoder for resource 'https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-custombuild.json': unsupported version...
$subject This helps in knowing the errors where tests are failing and also see the logs of tests the way they are run.
Most users using Ingress will probably want secure it using https. OpenCompose should support that https://kubernetes.io/docs/user-guide/ingress/#tls
This needs some real thought. If this is done correctly, OpenCompose can become extensible by users of it.
How can this be done? Is there anything we can steal from kubernetes? Is there a golang way of generating documentation from code like Python docstrings? Can we use godoc?
How do we handle different API versions for Kubernetes objects? OpenCompose spec needs a provision such that this information can be passed as metadata which can be translated whole converting...