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

[bug] Support handling resources in different group versions #437

Open
grzesuav opened this issue Feb 7, 2022 · 1 comment
Open

[bug] Support handling resources in different group versions #437

grzesuav opened this issue Feb 7, 2022 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@grzesuav
Copy link
Contributor

grzesuav commented Feb 7, 2022

Problem

Reported in this slack thread - to wrap up - when dealing with resources in different versions (like Ingress - "extensions/v1beta1" and "networking.k8s.io") in managing children (https://github.com/metacontroller/metacontroller/blob/master/pkg/controller/common/manage_children.go#L131) the same object is represented under two different groups, so current metacontroller logic tries to delete it (via old group handle - extensions/v1beta1) and create (via new group networking.k8s.io) which ends up in infinite loop.

Solution

@grzesuav grzesuav added bug Something isn't working help wanted Extra attention is needed labels Feb 7, 2022
@grzesuav
Copy link
Contributor Author

grzesuav commented Feb 7, 2022

Related code example, thanks to @vmax - https://github.com/vmax/metacontroller-upgrade-ingress-apiversion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant