-
Notifications
You must be signed in to change notification settings - Fork 86
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
Apply transformation when Patching from Resource #52
Comments
@fabioaraujopt yes, |
Thank you for explanation @morningspace. Do you suggest any alternative to this? We are increase a lot the complexity of several compositions because of this issue. |
We also have the requirement for transformations, also to e.g. combine multiple different fields into a single string in the target object |
We also need this, for example to add a prefix or suffix when patching a value |
This would be a nice addition to the provider :) |
Would love to see that as well. Sometimes, you need to do some plumbing, which may not follow xp conventions and then an implemenation like this couple bridge to compositions and enable certain cases which as of today would only (in my understanding) be possible, e.g. with specific composition functions. (Getting secret data, transform it and push it into an Object) |
Patch and Transforms can be quite complicated and are provide limitations in some cases (like lack of certain transform features). I would suggest using something more generic and more "common" in the Go and K8s ecosystem, like Go templates. Also there are composition environments in Crossplane though it is still an alpha feature. |
Having this would help a lot of use cases that need very little "transformations" not be forced to write and maintain Compositions/Definitions and the whole versioning/releasing of those. |
I'm trying to create a k8s secret patching from another secret.
I'm trying to achieve this by applying the following object inside of a composition:
It looks like it completely ignores the transformation.
Is the transformation taken into account at the current implementation=
The text was updated successfully, but these errors were encountered: