Support for kubeconfig credentials directly in kubeconfig file
MMquant opened this issue · comments
Petr Javorik commented
I have kubeconfig file which doesn't contain
certificate-authority:
client-certificate:
keys.
Instead the credentials are included directly in the kubeconfig file via
certificate-authority-data:
client-certificate-data:
Can I pass such kubeconfig directly to kubiscan or do I need to move the credentials into separate files and use
certificate-authority:
client-certificate:
?
Eviatar Gerzi commented
Hi,
It should work because we using config.load_kube_config()
which should load the config file as is:
Line 66 in b8e7f42
If it doesn't work for you, let us know and we will fix it.