Closed mabulgu closed 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 😔
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.)
Fair enough. Just wanted to point it out :)
Danke schön 🤗
Leaving oc create -f- may cause json unmarshalling problem while decoding template file.
Suggested use: oc create -f - (with a space)