fabric8-launcher / launcher-openshift-templates

OpenShift Templates for the Fabric8 Launcher application
http://launcher.fabric8.io
Apache License 2.0
5 stars 17 forks source link

import of template fails #39

Closed vap0rtranz closed 6 years ago

vap0rtranz commented 6 years ago

I'm trying to import the Launcher template on latest CDK/minishift v3.9.14 but it's throwing an error while parsing the template from here. See below:

[jupittma@jupittma openshift]$ oc project local-app-test
Now using project "local-app-test" on server "https://192.168.42.155:8443".
[jupittma@jupittma openshift]$ oc create -f https://raw.githubusercontent.com/fabric8-launcher/launcher-openshift-templates/master/openshift/launcher-template.yaml -n openshift
error: error converting YAML to JSON: yaml: line 330: did not find expected key
[jupittma@jupittma openshift]$ oc version
oc v3.9.14
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://192.168.42.155:8443
openshift v3.9.14
kubernetes v1.9.1+a0ce1bc657
gastaldi commented 6 years ago

Thanks @vap0rtranz, apparently it was an indentation error in the template. Thanks for catching that!

vap0rtranz commented 6 years ago

Ah sometimes it's the simplest thing. Ty!