-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Remove ApplyLabelSelectorDecorator from MinikubeHandler #14346
Conversation
Thanks for this work! TBH, I don't undestand why your changes is proper fix. I mean what happens if the the application does not provide a custom Deployment, won't the labels be missing? |
If the user won't provide a custom Deployment, the "application"'s Deployment will be created anyway in the same way it's created when existing resource are provided so basically, at my understanding, using the MinikubeHandler.createDeployment method. |
Ah OK, got it. Things were refactored so I think this makes sense. @iocanel mind taking a look as well? |
@iocanel ping? I would like to get it in 1.11.1.Final so we would need to merge it by tomorrow evening if you agree it's the right fix. Thanks! |
I have mixed feelings about it, as there is no guarantee or commitment that new Deployment resources will contain a selector. It's just happens to be currently the case. We can merge but we need to further improve handling in the future. |
@iocanel thanks for the info. |
@iocanel @geoand @gsmet |
@iocanel is the absolute expert here, so I'll defer to gimy |
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.
This does fix an issue, without introducing others.
While I am a bit reluctant for the reasons already mentioned, I think that any possible future breakage will be caught by the integraiton tests, that are added. So, lets merge.
@gsmet could this be made available in |
The |
Thanks @geoand |
Fixes #14345