-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add extensible transformation #122
Comments
Some thoughts: an extended transformer reads in []byte and returns []byte. The transformer itself can be written in other language.
|
When you say another language, do you mean running an external program that would need to have its own understanding of how to parse Kubernetes manifests? I was just thinking, what about embedding Skylark? Just passing a data structure with the matching resources to a Skylark function and having the function return a modified version. |
Actually, Jsonnet probably makes more sense than Skylark. |
With JSON patch support added and transformer configurations added, we can close this issue. |
This is to make kustomize libraries more flexible and extensible. Consider a kustomization, if an extra transformation is allowed, then user can specify their own transformations, such as replacing certain field to other strings, filling an docker image name.
The text was updated successfully, but these errors were encountered: