redhat-developer / redhat-developer/vscode-openshift-tools

Support proxy-url from `~/.kube/config`

Open
#2,468 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement priority/critical
Dominant language
TypeScript
Stars
123
Forks
63
Avg merge
6h 16m
Merged PRs (30d)
74

Description

Environment
VS Code version: 1.68.1
OS: win32
Extension version: 0.4.0
Description

I have setup proxy-url in ~/.kube/config.

apiVersion: v1
clusters:
- cluster:
    proxy-url: socks5://localhost:1080

Usage description: https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/#client-configuration

This works as it should with oc from command line.

~ $ oc version
Client Version: 4.10.0-0.okd-2022-06-10-131327
Server Version: 4.8.17
Kubernetes Version: v1.21.1+6438632

But the extension is not using this property.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the extension reads ~/.kube/config and handles cluster connection settings, then compare that path with the documented proxy-url entry and the working oc behavior. Verify completion by making the extension use proxy-url when connecting to the configured cluster, including the SOCKS5 example.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, typescript, vscode
Domain
devops, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.