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

Add more validation to the OperatorPolicy #207

Commits on Feb 20, 2024

  1. Add more validation to the OperatorPolicy

    The `ValidPolicySpec` condition now reports when the subscription or
    operatorGroup in the policy have unknown fields. It also reports if the
    InstallPlanApproval value in the subscription is not correct.
    
    That condition also reports when the namespace for the subscription
    does not exist, and the controller now watches that namespace so that if
    it is created (or deleted), the policy will be reconciled and the status
    will be updated.
    
    Refs:
     - https://issues.redhat.com/browse/ACM-9993
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli authored and JeffeyL committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    bd1cebd View commit details
    Browse the repository at this point in the history