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

NamespaceSelector 'reconciler' to help trigger evaluations #158

Commits on Aug 8, 2023

  1. Set Burst and QPS on target k8s client

    Previously, these settings were not being applied to the config used
    in 'hosted mode'. This commit also includes a typo fix, and adjusts some
    settings used by the tests.
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    26ff938 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Watch namespaces to evaluate when they change

    Previously, the evaluation interval could prevent policies from being
    applied on new namespaces when they appeared. Now, a new controller
    watches namespaces on the target cluster, and can signal to the config
    policy controller when a policy's selected namespaces have changed, so
    that it can be re-evaluated.
    
    A new controller-manager is used in hosted mode, in order to create a
    cache for the namespaces on the target cluster. This change required
    some setup adjustments in order to start both managers in this case.
    
    Refs:
     - https://issues.redhat.com/browse/ACM-6428
    
    Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
    JustinKuli committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    e53c5fe View commit details
    Browse the repository at this point in the history