-
- Notifications
You must be signed in to change notification settings - Fork 4
[Merged by Bors] - Orphaned resources handling #215
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
Conversation
Sorry @adwk67 for not marking the begin of the review correctly but it was quickly because i already know the PR from before releasing operator-rs |
…n the orphaned resources test
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.
Please wait with merging till https://ci.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/hbase-operator-it-custom/22/console suceeded
Approving now, as it's your last day and this is a reference-implementation
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.
Looks good to me. I have not run the tests due to time restrictions, but Sigi and I spoke about this offline and I have created an equivalent PR for NiFi that looks very similar, so am happy to approve this as is :)
Nice thing with the error files! Integration-tests passed so feel free to merge :) |
bors merge |
# Description Delete orphaned resources
Pull request successfully merged into main. Build succeeded: |
# Description Ensure the operator correctly deletes orphaned resources. Closes #244 sister PR that was modelled close to stackabletech/hbase-operator#215
use strum::{EnumDiscriminants, IntoStaticStr}; | ||
| ||
const FIELD_MANAGER_SCOPE: &str = "hbasecluster"; | ||
const CONTROLLER_NAME: &str = "hbase-operator"; |
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 is not the same. The field manager needs to identify the controller within the operator.
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.
"hbase-operator" is the controller name in this case. As there is only one controller in this operator, it should not pose a problem. But if you see a problem then please create a ticket. I agree that this naming is a bit confusing. So we could provide both, operator name and controller name, to ClusterResources.
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.
Description
Delete orphaned resources
Closes #154
Integration tests
Review Checklist
Once the review is done, comment
bors r+
(orbors merge
) to merge. Further information