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

Fix auth lookup order #237

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Conversation

jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented Dec 8, 2023

The documentation states that we load kubeconfig first and service account second, but then we don't actually do that.

This PR updates the order of the auth loading to match the documentation.

Closes #234

Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (092469a) 94.69% compared to head (d5625bd) 94.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #237      +/-   ##
==========================================
- Coverage   94.69%   94.65%   -0.04%     
==========================================
  Files          27       27              
  Lines        2675     2675              
==========================================
- Hits         2533     2532       -1     
- Misses        142      143       +1     

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

@jacobtomlinson jacobtomlinson merged commit da99e2e into kr8s-org:main Dec 12, 2023
9 checks passed
@jacobtomlinson jacobtomlinson deleted the fix-auth-order branch December 12, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Different behaviour depending on service account settings even when kr8s should ignore these
1 participant