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

change to service.name to show correct ingress url's #72

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

hsubramanianaks
Copy link
Collaborator

@hsubramanianaks hsubramanianaks commented Sep 11, 2023

This change is to fix the issue of not showing ingress url's in kubernetes status bar due to issue of using deprecated property names. ingress.items.spec.rules.http.paths.backend.serviceName was changed to ingress.items.spec.rules.http.paths.backend.service.name as part of this PR here. More details here.

After this PR : (note displays the ingress url's) before it wasn't displaying unless if cluster ingress was v1beta which is deprecated now.

image

@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2023

Codecov Report

Merging #72 (fb60586) into main (605623b) will increase coverage by 1.59%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #72      +/-   ##
==========================================
+ Coverage   65.33%   66.93%   +1.59%     
==========================================
  Files          33       33              
  Lines        2634     2752     +118     
  Branches      101      105       +4     
==========================================
+ Hits         1721     1842     +121     
+ Misses        913      909       -4     
- Partials        0        1       +1     
Flag Coverage Δ
unittests 66.93% <100.00%> (+1.59%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/clients/KubectlClient.ts 49.83% <100.00%> (+0.98%) ⬆️
src/tests/suites/KubectlClient-Test.ts 100.00% <100.00%> (ø)

@hsubramanianaks hsubramanianaks marked this pull request as ready for review September 11, 2023 15:46
Copy link
Member

@Tatsinnit Tatsinnit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

☕️❤️🎉 thank you so much for this, looks good.

@Tatsinnit Tatsinnit added the bug Something isn't working label Sep 11, 2023
@hsubramanianaks hsubramanianaks merged commit ef2b003 into Azure:main Sep 14, 2023
4 checks passed
@hsubramanianaks hsubramanianaks deleted the ingress-url-fix branch September 14, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants