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

[feat] Load kubeconfig from dict #169

Merged
merged 1 commit into from
Dec 2, 2021
Merged

[feat] Load kubeconfig from dict #169

merged 1 commit into from
Dec 2, 2021

Conversation

tomplus
Copy link
Owner

@tomplus tomplus commented Dec 1, 2021

Add new function to load kube-config from dict instead of kubeconfig:

  • load_kube_config_from_dict
  • new_client_from_config_dict

Add option to define temporary directory for files detached from kubeconfig (like ssl certs).

Fixes #167

@codecov
Copy link

codecov bot commented Dec 1, 2021

Codecov Report

Merging #169 (3dc8031) into master (5f4a80b) will increase coverage by 0.01%.
The diff coverage is 93.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
+ Coverage   30.69%   30.70%   +0.01%     
==========================================
  Files         758      758              
  Lines       88087    88115      +28     
==========================================
+ Hits        27037    27059      +22     
- Misses      61050    61056       +6     
Impacted Files Coverage Δ
kubernetes_asyncio/config/__init__.py 100.00% <ø> (ø)
kubernetes_asyncio/config/kube_config.py 92.22% <90.00%> (-1.39%) ⬇️
kubernetes_asyncio/config/kube_config_test.py 94.47% <100.00%> (+0.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f4a80b...3dc8031. Read the comment docs.

@tomplus tomplus merged commit e625e8d into master Dec 2, 2021
tomplus added a commit that referenced this pull request Dec 2, 2021
@tomplus tomplus deleted the feat/config-dict branch March 9, 2022 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing kubernetes.config.load_kube_config_from_dict()
1 participant