rht-labs / ubiquitous-journey

🧰 Open Innovation Labs Developer Experience - all the tooling for starting a residency
http://rht-labs.com/ubiquitous-journey
Apache License 2.0
102 stars 80 forks source link

Update oc create -f- parts #167

Closed mabulgu closed 4 years ago

mabulgu commented 4 years ago

Leaving oc create -f- may cause json unmarshalling problem while decoding template file.

Screen Shot 2020-07-02 at 01 38 38

Suggested use: oc create -f - (with a space)

ckavili commented 4 years ago

I haven't got this error but can you please check if you get the same error when you run the command for the second time? Because this unable to recognize.. error is related to the API server not register new ArgoCD CRD fast enough 😔

mabulgu commented 4 years ago

The first error message is the cause of the second I suppose since it is a marshaling problem. With some of the terminal extensions (like iterm) or other bashes(like zsh) this "-f-" may cause problems time to time. To use it like "-f -" is the guaranteed way I mean. (I did try to find the ocp examples of ours that uses of create with "-f -" but couldn't.)

ckavili commented 4 years ago

Fair enough. Just wanted to point it out :)

mabulgu commented 4 years ago

Danke schön 🤗