-
Notifications
You must be signed in to change notification settings - Fork 170
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 DRPC deletion command, as it is automatically deleted. #8799
Remove DRPC deletion command, as it is automatically deleted. #8799
Conversation
Signed-off-by: Sidhant Agrawal <[email protected]>
Verified: https://url.corp.redhat.com/21b9a28 |
finally: | ||
config.switch_acm_ctx() | ||
run_cmd( | ||
f"oc delete drpc -n {constants.GITOPS_CLUSTER_NAMESPACE} {drpc_name}" |
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.
Is constants.GITOPS_CLUSTER_NAMESPACE
used somewhere else?
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.
Yes, it's being used in dr_helpers.py
@sidhant-agrawal Have you checked if placement is getting auto-deleted every time so that we no longer need to delete drpc? |
Yes, the placement will be deleted here. Therefore, manual deletion of DRPC not needed. |
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
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: am-agrawa, jilju, prsurve, shylesh, sidhant-agrawal The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes: #8798
The DRPC deletion command was used to delete the DRPC during ApplicationSet workload deletion. However, this command is no longer necessary, as the DRPC is now automatically deleted (BZ 2234428)
This change removes the DRPC deletion command.