Skip to content
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

Label decorators should not be limited to ObjectMeta #609

Closed
iocanel opened this issue Sep 1, 2020 · 0 comments
Closed

Label decorators should not be limited to ObjectMeta #609

iocanel opened this issue Sep 1, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@iocanel
Copy link
Member

iocanel commented Sep 1, 2020

Currently our label decorators only work on ObjectMeta.
However, this is not a complete solution as labels are referenced in selectors too.
So, we should optionally control labels on those resources too.

An option would be to provide AddSelectorLabelDecorator and RemoveSelectorLabelDecorator that will act on any named resource and either delegate to specialized decorators or handle all cases internally.

An example case where this is causing issues: quarkusio/quarkus#11661

@iocanel iocanel added the bug Something isn't working label Sep 1, 2020
@iocanel iocanel self-assigned this Sep 2, 2020
@iocanel iocanel closed this as completed Sep 10, 2020
iocanel added a commit to iocanel/dekorate that referenced this issue Sep 22, 2020
iocanel added a commit to iocanel/dekorate that referenced this issue Sep 22, 2020
iocanel added a commit to iocanel/dekorate that referenced this issue Sep 22, 2020
aureamunoz pushed a commit to aureamunoz/dekorate that referenced this issue Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant