Closed MushiTheMoshi closed 5 months ago
Hard to tell from this report. Are you using the right user name (you specify user1
but the auth name is dev-platform
)? Are you giving it the right values? You could debug print the resulting Config
struct to verify it gets correctly converted from_custom_kubeconfig
.
I use this example as reference, anyways I am sure the user exist, I am looking for an example as I am not sure whether that's the correct way of doing it, if you could point me in the right direction, I'd appreciate...
let config__ = Kubeconfig{...
error:
thread 'tests::k8s_get_auth' panicked at 'Error in this: FindUser("user1")', src/main.rs:270:37
Current and expected behavior
Hi there,
First of all great work done here. Thanks for all the hard work, library is awesome.
I am trying to initialize a Client using kubeconfig struct, although is not clear how to do it, can't find any example.
So not able to identify whether is a bug or a bad setting on my side.
Expected:
Client initialized via Config::from_custom_kubeconfig authenticate to remote k8s
Values:
Thanks in advance, Julio
Possible solution
No response
Additional context
No response
Environment
ubuntu 22.08
Configuration and features
Affected crates
No response
Would you like to work on fixing this bug?
None