Open aweiteka opened 9 years ago
This is a bit problematic - we can do that for simple templates like [1], but it would mean to reimplement generators [2].
Michal Fojtik suggested to use openshift running in Docker container and doing a call like:
cat foo.template | sudo docker exec -it openshift-origin bash -c "osc process -f -"
if osc
is not available.
[1] https://github.com/openshift/origin/blob/master/examples/zookeeper/template.json#L362 [2] https://github.com/openshift/origin/blob/master/examples/sample-app/application-template-stibuild.json#L407 [3] https://github.com/openshift/origin/blob/master/pkg/template/generator/expressionvalue.go
Thoughts/summary:
kubectl create ...
any data structure that is of "Kind" DeploymentConfig
and Service
.@goern is this part of our CDK GA milestone story? I vote 'no' since we have not pulled this in as a primary user story.
I see some feature misfit for that, referring to vpavlins comment and dont really see that this is part of the story...
prerequisite: an OpenShift environment that is capable of processing the template inherited with the Atomic App.
Extend kubernetes provider so it could run an unaltered OpenShift template via inherit.