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

Cannot login to existing cluster #3935 #4774

Conversation

vrubezhny
Copy link
Contributor

@vrubezhny vrubezhny commented Jan 20, 2025

The openshiftToolkit.failOnBrokenKubeConfigEntry (boolean) option is added with the
default set to false in order to make Kube config loading more robust.
If it's required to fully check the correctness of the Kube config on startup, users can
set its value to true, so Kubernetes Client will throw errors if any.

Fixes: #3935

@codecov-commenter
Copy link

codecov-commenter commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.68%. Comparing base (da60441) to head (08362b7).
Report is 791 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4774       +/-   ##
===========================================
+ Coverage   32.37%   44.68%   +12.30%     
===========================================
  Files          85       99       +14     
  Lines        6505     8113     +1608     
  Branches     1349     1706      +357     
===========================================
+ Hits         2106     3625     +1519     
- Misses       4399     4488       +89     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The `openshiftToolkit.failOnBrokenKubeConfigEntry` (boolean) option is added with the
default set to `false` in order to make Kube config loading more robust.
If it's required to fully check the correctness of the Kube config on startup, users can
set its value to `true`, so Kubernetes Client will throw errors if any.

Fixes: redhat-developer#3935

Signed-off-by: Victor Rubezhny <[email protected]>
@vrubezhny vrubezhny force-pushed the fix-filter-errorneous-kube-config-entries branch from 782e8ea to 08362b7 Compare January 20, 2025 15:11
@vrubezhny vrubezhny merged commit 092349c into redhat-developer:main Jan 20, 2025
4 checks passed
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.

cannot login to existing cluster
2 participants