-
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
Provide simple way of sharing transformers configuration. #1509
Comments
/assign @monopole @Liujingfang1 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@jbrette Exactly the issue I'm facing. Any progress on that somehow ? I tried to patch the transformer loaded from the base but I got #2055 (comment) |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen This is something I've struggled with as well. I'd love if there was an env var for global configurations to tell kustomize how to interpret various kinds of resources. |
@chancez: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I have the exact same issue, was anyone able to solve this problem? |
During the investigation of the best option to allow a user simple adjust the default configuration of builtin transformers, the idea was proposed to leverage kustomize transformers in kustomization.yaml.
The example here is adding a label "env: canary" in one kustomize context, and "env: production" in the other.
The current issue is that the commonslabeltransformer.yaml is basically copy/pasted from the canary to production and only the "labels" section changes.
Full example is available here
production kustomization.yaml look so:
The commonlabelstransformer.yaml for the production environment looks this way.
On the canary side:
The text was updated successfully, but these errors were encountered: