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/config-policy-controller: #222 #793

Merged
merged 4 commits into from
Apr 10, 2024

Commits on Apr 10, 2024

  1. Add/Update some comment strings

    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    (cherry picked from commit 0c17093)
    JustinKuli authored and Magic Mirror committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    ec14e62 View commit details
    Browse the repository at this point in the history
  2. Add CRD reporting to OperatorPolicy

    Also adjusts CSV reporting to handle when the CSV exists but the
    subscription does not, by using a label that OLM adds to these objects.
    
    The authorino operator was chosen because it has more than one CRD, but
    not too many to make a concise test.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    (cherry picked from commit 6b1db91)
    JustinKuli authored and Magic Mirror committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    f4bed6d View commit details
    Browse the repository at this point in the history
  3. Relax event requirement for a flaky test

    When the subscription has a ConstraintsNotSatisfiable condition, the
    exact content of the message is not always consistent. We have added
    other things to sort the message better, but it looks like we missed
    this test which was still assuming a certain part was first.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    (cherry picked from commit 12f0324)
    JustinKuli authored and Magic Mirror committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    11a7903 View commit details
    Browse the repository at this point in the history
  4. Implement mustnothave mode for OperatorPolicy

    Enforced mustnohave policies will delete things based on the new
    RemovalBehavior field. In inform mode, resources that would be removed
    by an enforced policy will be causes for NonCompliance. This gives
    control to users in order to prevent unintended side effects.
    
    Refs:
     - https://issues.redhat.com/browse/ACM-9287
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    (cherry picked from commit 1711136)
    JustinKuli authored and Magic Mirror committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    acb70f9 View commit details
    Browse the repository at this point in the history