Skip to content
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

🤖 Sync from open-cluster-management-io/governance-policy-framework-addon: #132 #364

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

There were issues with duplicated compliance events and having a
different code path in the governance-policy-propagator for a
self-managed hub. This will unifies the approaches.

It takes the approach of using a retry watcher and just generating
the disabled event when the policy is deleted. The controller-runtime
library cannot be used because when there is a reconcile event for a
deleted object, you don't have access to the object as it was right
before deletion.

Relates:
https://issues.redhat.com/browse/ACM-10418

Signed-off-by: mprahl <[email protected]>
(cherry picked from commit 5dd1a53)
Copy link

openshift-ci bot commented Apr 18, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: magic-mirror-bot[bot]
Once this PR has been reviewed and has the lgtm label, please assign gparvin for approval. For more information see the Kubernetes Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mprahl
Copy link

mprahl commented Apr 18, 2024

/cherry-pick release-2.10

@openshift-cherrypick-robot

@mprahl: once the present PR merges, I will cherry-pick it on top of release-2.10 in a new PR and assign it to you.

In response to this:

/cherry-pick release-2.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link

@magic-mirror-bot magic-mirror-bot bot merged commit a6ada4d into main Apr 18, 2024
13 of 14 checks passed
@magic-mirror-bot magic-mirror-bot bot deleted the magic-mirror-main-1713448163376 branch April 18, 2024 14:20
@openshift-cherrypick-robot

@mprahl: new pull request created: #365

In response to this:

/cherry-pick release-2.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants