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

feat: add labels to envoyService config #4427

Merged
merged 2 commits into from
Oct 13, 2024

Conversation

jukie
Copy link
Contributor

@jukie jukie commented Oct 12, 2024

What type of PR is this?

feat: add labels to envoyService config

What this PR does / why we need it:

This adds the ability to configure labels that should specifically be applied to the service within an EnvoyProxy spec. This is useful for doing things like selecting a cilium IP pool or other labels that a user doesn't want to be applied to all related resources via the existing infra labels option.

Which issue(s) this PR fixes:

Fixes #4417

@jukie jukie requested a review from a team as a code owner October 12, 2024 00:35
@jukie
Copy link
Contributor Author

jukie commented Oct 12, 2024

@arkodg @zetaab whenever you're able to take a look please

@zetaab
Copy link
Contributor

zetaab commented Oct 12, 2024

ah actually you need to generate crds again. could you run make manifests

Signed-off-by: jukie <[email protected]>
@jukie jukie requested a review from zetaab October 12, 2024 16:24
Copy link

codecov bot commented Oct 12, 2024

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes missing coverage. Please review.

Project coverage is 65.82%. Comparing base (f1df0c9) to head (c6b2f73).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...frastructure/kubernetes/proxy/resource_provider.go 63.63% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4427      +/-   ##
==========================================
+ Coverage   65.81%   65.82%   +0.01%     
==========================================
  Files         200      200              
  Lines       24171    24177       +6     
==========================================
+ Hits        15907    15915       +8     
+ Misses       7129     7127       -2     
  Partials     1135     1135              

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

@jukie
Copy link
Contributor Author

jukie commented Oct 12, 2024

/retest

Copy link
Contributor

@shawnh2 shawnh2 left a comment

Choose a reason for hiding this comment

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

LGTM

@shawnh2 shawnh2 merged commit c1f4837 into envoyproxy:main Oct 13, 2024
27 checks passed
@jukie jukie deleted the feat/envoyService-labels branch October 13, 2024 00:40
juwon8891 pushed a commit to juwon8891/gateway that referenced this pull request Oct 22, 2024
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.

Support labels configuration in EnvoyProxy spec
4 participants