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: #163 #580

Merged
merged 2 commits into from
Sep 20, 2023

Commits on Sep 20, 2023

  1. Add an error when the apiVersion is missing

    The apiVersion field is generally required by kubernetes objects... it's
    surprising that this situation wasn't already caught by an error when
    decoding or getting a mapping.
    
    Refs:
     - https://issues.redhat.com/browse/ACM-7127
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    (cherry picked from commit f997dbc)
    JustinKuli authored and Magic Mirror committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    5a67c4a View commit details
    Browse the repository at this point in the history
  2. Add debug to enforce with status test

    This test has been flakey - the last check for Compliant events has been
    coming back empty unexpectedly. This will print information about all of
    the events to help understand what is happening.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    (cherry picked from commit 62a3ac4)
    JustinKuli authored and Magic Mirror committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    ecb7a19 View commit details
    Browse the repository at this point in the history