Skip to content

KubernetesClientConfiguration does not implement IDisposable. #1446

@tg123

Description

@tg123
          @brendandburns @tg123 As far as I see there is still an issue with this implementation. The certificates are now copied from the `KubernetesClientConfiguration` instance to each consuming `KubernetesClient` instance. Each `KubernetesClient` instance will dispose their copied `X509Certificate2` instances on their `Dispose()` call, but the `config.SslCaCerts` will get never disposed as `KubernetesClientConfiguration` does not implement `IDisposable`.

Originally posted by @PSanetra in #1437 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions