Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to identity provider behind SOCKS proxy #1081

Open
ktarplee opened this issue Apr 22, 2024 · 0 comments
Open

Access to identity provider behind SOCKS proxy #1081

ktarplee opened this issue Apr 22, 2024 · 0 comments
Labels
question Further information is requested

Comments

@ktarplee
Copy link

Describe the question

Is it possible to configure kubectl-oidc_login to use a SOCKS5 proxy when connecting to the --oidc-issuer-url?

Rationale

I have a Kubernetes cluster that is running Gitlab. Gitlab is the OIDC identity provider for the cluster's kube-apiserver. All access to the cluster is through SOCKS5 (via ssh -D 9999 cluster-login-node). When I have credentials set in the kubeconfig file I can easily set the proxy-url: socks5://localhost:9999 in the cluster section of my kubeconfig and kubectl works as expected.

The issue comes when I want to use kubectl-oidc_login. It does not seem to support SOCKS5 proxies for access to the identity provider.

To implement this in kubectl-oidc_login it looks like some code similar to this is necessary.

@ktarplee ktarplee added the question Further information is requested label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant