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

MustNotHave mode for OperatorPolicy #222

Commits on Apr 4, 2024

  1. Add/Update some comment strings

    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    59a18f8 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>
    JustinKuli committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    e4f2726 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>
    JustinKuli committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    fa5b235 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. 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>
    JustinKuli committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    34f38bc View commit details
    Browse the repository at this point in the history