redhat-developer / redhat-developer/vscode-openshift-tools
Support proxy-url from `~/.kube/config`
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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