<p>How can I run kubectl apply commands from go via client-go?
e.g.:
I'm having a file called crds.yaml and I want to run it via client-go</p>
<p>I can't find any examples about how to do so can someone please help?</p>

Astin Gengo
<p>You need to decode your .yaml file</p>
<p><a href="https://github.com/kubernetes/client-go/issues/216" rel="nofollow noreferrer">Here</a> it's the complete answer (with code example)</p>
