You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi dear all,
I have some Kubernetes clusters that I would like to use through mitmproxy.
Now starting mitmproxy only with the upstream config, doesn't work. mitmproxy --mode upstream:http://MY_UPSTREAM_PROXY --set connection_strategy=lazy --set upstream_cert=false --ssl-insecure
I get error 403 and kubectl fails:
kubectl get pods
Error from server (Forbidden): pods is forbidden: User "system:anonymous" cannot list resource "pods" in API group "" in the namespace "default"
Looking around I understood that the ssl_insecure option is for something else and it doesn't work in this case.
Also found this interesting issue #5019 but in reality nothing tackle the client certificate part.
Configuring kubectl to go through the UPSTREAM_PROXY directly works.
Do you have any idea how to do it with mitmproxy?
Forgot to mention that I am using mitmproxy 8.1.1
Thanks
Alessandro
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi dear all,
I have some Kubernetes clusters that I would like to use through mitmproxy.
Now starting mitmproxy only with the upstream config, doesn't work.
mitmproxy --mode upstream:http://MY_UPSTREAM_PROXY --set connection_strategy=lazy --set upstream_cert=false --ssl-insecure
I get error 403 and kubectl fails:
Looking around I understood that the ssl_insecure option is for something else and it doesn't work in this case.
Also found this interesting issue #5019 but in reality nothing tackle the client certificate part.
Configuring kubectl to go through the UPSTREAM_PROXY directly works.
Do you have any idea how to do it with mitmproxy?
Forgot to mention that I am using mitmproxy 8.1.1
Thanks
Alessandro
Beta Was this translation helpful? Give feedback.
All reactions