Closed jotabe87 closed 1 year ago
I could not reproduce this error.
My commands
rm ~/.otc-auth-config otc-auth login idp-oidc otc-auth cce get-kube-config -c ...
worked like a charm
I also cannot reproduce this error with the latest version. Seems fixed.
The latest release has somehow a loop that requests a scoped token on the first login
Other than that the issue seems to be closed. I'll open another issue for this behavior.
When getting a kube config from the otc using the
create-kube-config
command it won't automatically request a scoped token if one isn't available for the current project.In kube-config.go:
The scoped token should be available before the call in the
getClusterCertFromServiceProvider
function: