Kube-rs: regression: authentication with provider oidc not supported

Created on 17 Feb 2021  路  5Comments  路  Source: kube-rs/kube-rs

before 0.49, kube can authenticate OIDC (see https://github.com/clux/kube-rs/pull/70), but since 0.49/0.50 I got the following error

 error: failed to create the kube client

    Caused by:
        0: Error loading kubeconfig: Failed exec auth: Authentication with provider oidc not supported
        1: Failed exec auth: Authentication with provider oidc not supported

I used the following dependencies

kube = { version = "0.50", features = ["oauth", "gzip"]}
k8s-openapi = { version = "0.11.0", features = ["v1_16"], default-features = false }
bug config

All 5 comments

The issue seems to be fixed on master (but present on tag 0.50.0)

I'll make a release for it later tonight.

Released in 0.50.1

Thanks (also for all the work on kube-rs)
I'm releasing 0.12.1 of kubectl-view-allocations with kube 0.50.1

Was this page helpful?
0 / 5 - 0 ratings