-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 target section for all kustomize transformers #5661
Comments
Hi! Any solution about triaging? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale
/assign
|
It would be nice to have a way of applying labels in a fine-grained way as proposed. /triage under-consideration |
Hi @stormqueen1990! Assign this ticket to me please. I will start to work on it after finish that PR #5678 |
Hi there, @abogdanov37! 👋🏻 Because this changes the way that transformers and configurations process resources, an enhancement proposal will be needed before an implementation is made. If you're interested in writing that, please check out https://github.com/kubernetes-sigs/kustomize/blob/master/proposals/README.md#option-2-mini-in-repo-enhancement-proposal You should also be able to assign the issue to yourself when you start working on it using cc: @koba1t |
HI @abogdanov37 I worry that the proposal is dangerous and could easily break the output. I think there is a safe way to implement a filter function for each transformer. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
Eschewed features
What would you like to have added?
Add a target section for all transformersl like in patch
Example
In patch section I can to select entities by name
I want to use that behavior in all transformers
Example
in label section I WANT to select entities by name
Why is this needed?
Because I want to create many level customize builds
Example
Application 1 depends on service 1 that depends on service 2
I create
kustomize.yaml
for Application 1kustomize.yaml
for Service 1kustomize.yaml
for Service 2If I use labels section in Service 1
and Service 2
The labels from Service 1 replace labals from Service 2
That behavior repeat in all transformers besause they based only on
kind
fieldCan you accomplish the motivating task without this feature, and if so, how?
Yes I can. I can use patch section instead of all transformations/
Example add labels
What other solutions have you considered?
Have no other ideas
Anything else we should know?
No response
Feature ownership
The text was updated successfully, but these errors were encountered: