Ambassador: Generate k8s client types for CRDs

Created on 26 Jun 2020  路  3Comments  路  Source: datawire/ambassador

Ambassador uses a number of custom CRDs. It would be desirable if generated Go client files could be made available for easy creation, listing and watching of Ambassador CRDs from Go programs and/or other operators.

Ideal solution would be to add client code generation with https://github.com/kubernetes/code-generator

Most helpful comment

Great timing, since we're actually working on this. :wink:

All 3 comments

+1

Great timing, since we're actually working on this. :wink:

As of Ambassador 1.6.0, you can look in pkg/api/getambassador.io/v2 to find Go types for all of our CRDs. 馃檪

Was this page helpful?
0 / 5 - 0 ratings