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

[release-0.16] ✨ Cache: Allow defining options that apply to all namespaces that themselves have no explicit config #2539

Commits on Oct 10, 2023

  1. sparkles: Cache: Allow defining options that apply to all namespaces …

    …that themselves have no explicit config
    
    This change allows to define a cache selector config that applies to all
    namespaces that themselves do not have an explicit config. An example
    would be "Cache all namespaces without selector, except for namespace
    foo, there use labelSelector bar=baz".
    
    More as a side effect than intentionally, this also makes it valid to use
    the empty string as a key in the `Namespaces` and `byObject.Namespaces`
    config of the cache. This is very useful to for example have a
    `namespace` CLI flag that might be empty.
    
    This change is the last missing bit to finish the implementation of the
    [cache options design doc](./designs/cache_options.md).
    alvaroaleman authored and k8s-infra-cherrypick-robot committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    b9c691d View commit details
    Browse the repository at this point in the history