livecycle / deploykit

A Deno toolkit for generating deployment configuration files based on Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GCP Config Connector CRDs

adnaan opened this issue · comments

Hi ! First of all, great work with deploykit. I am quite aligned on this approach have been using deploykit's k8s generated API here: https://github.com/dxcfg/dxcfg.

I see a potential use case to provision GCP resources using config connector CRDs. Would you be open to a contribution for that ?

Thanks for the feedback :)

Be happy to accept PR, you can add sources here:
https://github.com/livecycle/deploykit/blob/199e95f53a10182df410523fc8f64b73a4f3cde3/generated/k8s/sources.json
And run the generate script. (If it doesn’t work, I can apply it as well)

I’ll publish a new version after the PR is merged

Its actually is a lot of CRD yamls in there: https://github.com/GoogleCloudPlatform/k8s-config-connector/tree/master/crds. And growing ! You are ok with the sources.json file getting a little crowded ? Alternatively I can keep it separate in its own json file.

Hmm, maybe we can change the sources.json to sources.ts that exposes the sources object?
That way you can import other file that contains all the other crds and just “…” array spread it.

Makes sense. I will go with that.