openshift/origin — pull request #150 by VojtechVitek (2014-09-26 11:46:42+00:00)
Title: Fix missing 'apiVersion' in example templates

When the template.apiVersion is missing, the runtime.Object parser
can't figure out the Template object properly and thus the
TemplateProcessor produces a Config with null items.

All of the below should produce Config with non-null items:
```
openshift kube process -c ./examples/guestbook/template.json
openshift kube process -c./api/examples/template.json
openshift kube process -c ./examples/simple-ruby-app/template/template.json
```

@mfojtik @bparees review pls

TODO: Fix the k8s `DecodeInto()` to handle unknown/empty "apiVersion" and try to use `latest.Version` instead. /cc @smarterclayton