Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify how to regenerate kcl modules #232

Open
dansrogers opened this issue Sep 6, 2024 · 4 comments
Open

clarify how to regenerate kcl modules #232

dansrogers opened this issue Sep 6, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@dansrogers
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe:

I'm trying to understand how to regenerate these module bindings for any given module. It seems ambiguous how any given module is generated.

Describe the feature you'd like:

A repeatable automation step to regenerate a module against a specific upstream version and documentation on how to call that.

Also a gitworkflow that generates new versions automatically would be nice to have.

Describe alternatives you've considered:

There is no clear alternative, sadly. crossplane, in particular, seems problematic as it has a file containing all crossplane resources that the bindings are generated against.

Teachability, Documentation, Adoption, Migration Strategy:

@Peefy Peefy added the enhancement New feature or request label Sep 7, 2024
@Peefy
Copy link
Contributor

Peefy commented Sep 7, 2024

cc @zong-zhe

@dansrogers
Copy link
Contributor Author

After my experience with crossplane -- the generation step is currently dependent on docs.crds.dev, and it's not clear how to update that, if needed.

My crossplane module update PR proposes an alternative strategy based on helm, kind, and kubectl, but that probably requires some work to generalize -- it does however not require docs.crds.dev to be updated before a kcl module can be updated.

@dansrogers
Copy link
Contributor Author

How do folks feel about something like https://github.com/earthly/earthly? for specifying module build targets? I could code up something based on my crossplane module rebuild experience.

@Peefy
Copy link
Contributor

Peefy commented Sep 9, 2024

Hello @dansrogers

Do you mean to use Earthly to write some code for building KCL modules? Of course, we will also provide clearer guidance from KCL's own tools and documentation.

@Peefy Peefy added the help wanted Extra attention is needed label Oct 12, 2024
@Peefy Peefy removed the help wanted Extra attention is needed label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants