-
Notifications
You must be signed in to change notification settings - Fork 12
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
fix: use cluster name in label selector of service controller #117
Conversation
@NEwa-05 🤔 Why the " Yes, I updated the tests accordingly" is checked and there is no test. I'm wondering 😅. Anyway, I suggest to add a test on this in order to ensure it won't disappear with time. |
Oups, I did work on another test/PR and checked the update box for this, my bad. If we do that for this service we need to do it as well for the registry and proxy as well then. |
Tests has been added for both services. |
See my comments. Otherwise, it looks good ! |
Co-authored-by: Michel Loiseleur <[email protected]>
Co-authored-by: Michel Loiseleur <[email protected]>
Co-authored-by: Michel Loiseleur <[email protected]>
@NEwa-05 I tried to improve the title. Feel free to update it if I missed something. Also, you should test the upgrade, on a |
I have installed a new deployment and upgraded a new deployment without issues. I do see the point of the breaking change, but unless the controller pod where not labeled with the cluster name in older helm deployment there will be no change for the service and pod mapping. For me, it's more a fix than a change since both proxies and registry were already using cluster name within the service label selector, WDYT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this PR do?
Patch controller service creation to add cluster name as label (already done for Registry service and Proxy service)
Motivation
When deploying 2 separate instances of Traefikee, the controller is messing up its configuration.
More
make test
and all the tests passed