-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Enhancement] Consider adding resource matching rules to the KRM-KCL Spec #13
Comments
Hello @Peefy can I work on this issue? |
Hello @Peefy I had a question
How do we currently write deployments and services inside KCL , can I see some examples of where there is a typical usage of |
Here's documents https://kcl-lang.io/docs/user_docs/guides/working-with-k8s/overview In fact, what this issue wants to do is to filter these fields through configuration when there is a series of resource inputs on the resource transformer. https://github.com/kcl-lang/krm-kcl/blob/main/pkg/edit/transformer.go#L38 Expanding it based on existing transformer interfaces is a better way. |
Would be happy to take this one, @Peefy |
Thank you! @shruti2522 |
Background
In the current version of the KRM KCL specification, users need to repeatedly write and filter certain types of resource codes such as service and deployments, and consider adding resource filtering declarations to further reduce the required code volume, such as the following form.
Reference
The text was updated successfully, but these errors were encountered: