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 loadBalancer attribute name #496

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

jacobtomlinson
Copy link
Member

It was highlighted in dask/dask-kubernetes#906 that kr8s is accessing the Service loadBalancer attribute via the load_balancer key. This is likely a bug left over from some previous experiements with automatically converting camel case keys to snake case keys.

This PR switches the syntax to use camel case, which means it should now work as expected. I also opened #495 to track adding full support for camel => snake conversion.

@jacobtomlinson jacobtomlinson added the bug Something isn't working label Sep 17, 2024
@github-actions github-actions bot added the kr8s label Sep 17, 2024
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.19%. Comparing base (87063fc) to head (8e74477).
Report is 116 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #496      +/-   ##
==========================================
+ Coverage   94.61%   95.19%   +0.57%     
==========================================
  Files          29       30       +1     
  Lines        3141     3973     +832     
==========================================
+ Hits         2972     3782     +810     
- Misses        169      191      +22     

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

@jacobtomlinson jacobtomlinson merged commit 665ff53 into kr8s-org:main Sep 17, 2024
12 checks passed
@jacobtomlinson jacobtomlinson deleted the loadbalancer-camel branch September 17, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working kr8s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant