Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"oc create -f" fails with spaces in template json #21

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jeanabraham
Copy link

@jeanabraham jeanabraham commented Dec 21, 2016

Hi,

Without these changes to JSON file, using the instructions on Pg 58: "Ch 7: Using Application templates" in the Openshift forDevelopers guide fails.

Error:

error validating "https://github.com/jeanabraham/openshift3mlbparks/blob/master/mlbparks-template-wildfly.json": error converting to YAML: yaml: line 6: mapping values are not allowed in this context

Error due to:
http://stackoverflow.com/questions/10971621/error-parsing-yaml-file-mapping-values-are-not-allowed-here

Jean

@conr
Copy link

conr commented Apr 3, 2017

Book should be updated with this command or the filename should remove the '-eap' part at the end.

oc create -f https://raw.githubusercontent.com/gshipley/openshift3mlbparks/master/mlbparks-template-eap.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants