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

[release-2.7] 🤖 Sync from open-cluster-management-io/config-policy-controller: #99 #406

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #405

/assign mprahl

This reverts commit 0234403 since
conditions aren't meant to contain a history. They are supposed to
contain just the current state. See:
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties

The ConfigurationPolicy status events combined all conditions and led to the wrong
status message being stored in the Policy.

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

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
(cherry picked from commit 81a1487)
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

76.5% 76.5% Coverage
0.0% 0.0% Duplication

@openshift-ci openshift-ci bot added the lgtm label Jan 24, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jan 24, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mprahl, openshift-cherrypick-robot

The full list of commands accepted by this bot can be found here.

The pull request process is described 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

@openshift-merge-robot openshift-merge-robot merged commit c1607d5 into stolostron:release-2.7 Jan 24, 2023
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.

3 participants