kubernetes-client / kubernetes-client/python
Bug: in-cluster config is passing ssl_ca_cert file path instead of the content of the file
Open
help wanted
- Dominant language
- Python
- Stars
- 7.7k
- Forks
- 3.5k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 18
Description
This line is giving ssl_ca_cert the file path instead of the content of the file
https://github.com/kubernetes-client/python/blame/36cfbe68a509d9b9d33395b22b6fa94d7d46c30f/kubernetes/base/config/incluster_config.py#L85C4-L85C4
Contributor guide
Research direction
Open kubernetes/base/config/incluster_config.py at line 85 and trace how ssl_ca_cert is assigned in the in-cluster configuration. Confirm the expected value is the CA file content rather than its path, then check the repository's existing configuration tests and add coverage showing the corrected value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100