AmitKumarDas / Decisions

Apache License 2.0
10 stars 3 forks source link

K8s - From Slack - List CRD with client-go #235

Open AmitKumarDas opened 4 years ago

AmitKumarDas commented 4 years ago

Question

How can I list CRDs with client-go? I can't seem to find the API group. I basically want to do kubectl get crd with client-go.

Answer

it's a different client library inside of https://github.com/kubernetes/apiextensions-apiserver . It can be used in combination with client-go