-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat(koperator): Remove pre-upgrade job to set kcore version #1670
Conversation
This repo has @d2iq-mergebot integration. You can perform the following commands by submitting a comment. Submit a comment with content "@d2iq-mergebot help" to view more detailed help text and examples. Be sure the have a look at the mergebot documentation, too.For help using mergebot, please refer to the README file here: https://github.com/mesosphere/mergebot/blob/main/README.md |
Pull Request Test Coverage Report for Build 6514905293
💛 - Coveralls |
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.
🎉
What problem does this PR solve?:
I noticed that the koperator pre-upgrade job was failing due to insufficient perms
Error from server (Forbidden): kommandercores.dkp.d2iq.io "kommander-core" is forbidden: User "system:serviceaccount:kommander:kommander-operator-pre-upgrade" cannot get resource "kommandercores/status" in API group "dkp.d2iq.io" at the cluster scope
However, I realized that since we will not be shipping the declarative upgrade feature in full in the next release, we don't need this pre-upgrade job at all to update existing kcore statuses with the current version. We can instead just let the operator treat it as it would a "fresh install" which is to update the status with the current version and exit without running the upgrade workflow steps that we have added so far.
Which issue(s) does this PR fix?:
https://d2iq.atlassian.net/browse/D2IQ-99516
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Checklist