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 test for configpolicy cleanup during uninstall #541

Merged

Commits on Jan 20, 2023

  1. Add test for configpolicy cleanup during uninstall

    Tests that the ConfigurationPolicy CRD does not become stuck due to
    pruneObjectBehavior finalizers when the controller is uninstalled.
    
    Refs:
     - https://issues.redhat.com/browse/ACM-2923
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    e7fc1ba View commit details
    Browse the repository at this point in the history
  2. Collect more logs when debugging

    When a selector is given, `kubectl logs` will only get 10 lines. Now it
    will get all the logs for the container.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    89ea08f View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Improve cleanPolicy helper func

    Now it targets the correct namespace, and puts some extra info into the
    ginkgo writer, which will be printed if the spec fails.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    fa6c07c View commit details
    Browse the repository at this point in the history