Skip to content

docs: remove unused load balancer annotations - #1404

Merged
lukasmetzner merged 1 commit into
mainfrom
refactor/remove-unused-annotations
Oct 28, 2026
Merged

lukasmetzner merged 1 commit into
mainfrom
refactor/remove-unused-annotations

Conversation

@lukasmetzner

@lukasmetzner lukasmetzner commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Removes the ipv4, ipv6 and id annotations and the now unused Read-only column from the doc generator.

The controller used to copy these values from the Load Balancer onto the Service. #933 stopped that, because the cloudprovider.LoadBalancer interface requires implementations to treat the *v1.Service as read-only and not modify it. Since then, nothing reads or writes these annotations, but they stayed in the reference. The Load Balancer IPs are reported in status.loadBalancer.ingress.

The ipv4, ipv6 and id annotations are neither read nor written since #933.
Without them no annotation is read-only anymore, so the Read-only column
is dropped from the doc generator as well.
@lukasmetzner
lukasmetzner requested a review from a team as a code owner October 28, 2026 07:58
@codecov

codecov Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.77%. Comparing base (90098e1) to head (3d48de7).

Files with missing lines Patch % Lines
tools/doc_generation.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1404      +/-   ##
==========================================
+ Coverage   74.29%   74.77%   +0.47%     
==========================================
  Files          33       33              
  Lines        2556     2537      -19     
==========================================
- Hits         1899     1897       -2     
+ Misses        657      640      -17     
Flag Coverage Δ
e2e 53.11% <ø> (-0.32%) ⬇️
unit 70.43% <0.00%> (+0.52%) ⬆️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jooola

jooola commented Oct 28, 2026

Copy link
Copy Markdown
Member

This is not really a refactor, we are actually doing changes here, I'd rather scope it as docs?

@lukasmetzner lukasmetzner changed the title refactor: remove unused load balancer annotations docs: remove unused load balancer annotations Oct 28, 2026
@lukasmetzner

Copy link
Copy Markdown
Contributor Author

This is not really a refactor, we are actually doing changes here, I'd rather scope it as docs?

Yeah, you are right. Scoped it as docs

@lukasmetzner
lukasmetzner merged commit e872d8f into main Oct 28, 2026
11 of 12 checks passed
@lukasmetzner
lukasmetzner deleted the refactor/remove-unused-annotations branch October 28, 2026 13:27

This branch was successfully deployed

1 active deployment
e2e-robot — 3d48de78 Deployed Oct 28, 2026 by lukasmetzner via e2e robot #1761
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.

2 participants