I spent hours dealing with an HTTP 403 error since I filled the cert and key path and I left the user field as an empty string. At line 36 of the actions/lib/k8s.py file the if condition is verified and it tries to use the basic auth rather than set self.clientcert to 1.
The README states: _Only user and password or client_certpath (key is optional) need to be set for this to work. IMHO, it's confusing.
I suggest to update the README or to make the if conditions more conservatives. I can provide a PR if you want :)
Hello!
I spent hours dealing with an HTTP 403 error since I filled the cert and key path and I left the user field as an empty string. At line 36 of the
actions/lib/k8s.py
file the if condition is verified and it tries to use the basic auth rather than setself.clientcert
to1
.The README states: _Only user and password or client_certpath (key is optional) need to be set for this to work. IMHO, it's confusing.
I suggest to update the README or to make the if conditions more conservatives. I can provide a PR if you want :)