Add target section for all kustomize transformers #5661
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
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: