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

Automated cherry pick of #112017: exec auth: support TLS config caching #112337

Commits on Sep 8, 2022

  1. exec auth: support TLS config caching

    This change updates the transport.Config .Dial and .TLS.GetCert fields
    to use a struct wrapper.  This indirection via a pointer allows the
    functions to be compared and thus makes them valid to use as map keys.
    This change is then leveraged by the existing global exec auth and TLS
    config caches to return the same authenticator and TLS config even when
    distinct but identical rest configs were used to create distinct
    clientsets.
    
    Signed-off-by: Monis Khan <mok@microsoft.com>
    enj committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    e3bffcd View commit details
    Browse the repository at this point in the history