Skip to content

infra: delete resource if exists when using customized name#5569

Merged
arkodg merged 6 commits intoenvoyproxy:mainfrom
zirain:fixes/4380
Mar 28, 2025
Merged

infra: delete resource if exists when using customized name#5569
arkodg merged 6 commits intoenvoyproxy:mainfrom
zirain:fixes/4380

Conversation

@zirain
Copy link
Copy Markdown
Member

@zirain zirain commented Mar 21, 2025

fixes: #4380

@zirain zirain requested a review from a team as a code owner March 21, 2025 06:00
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 21, 2025

Codecov Report

Attention: Patch coverage is 55.35714% with 25 lines in your changes missing coverage. Please review.

Project coverage is 65.25%. Comparing base (555ec03) to head (bd72555).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
internal/infrastructure/kubernetes/infra_client.go 36.00% 15 Missing and 1 partial ⚠️
...ternal/infrastructure/kubernetes/infra_resource.go 70.00% 6 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5569      +/-   ##
==========================================
- Coverage   65.26%   65.25%   -0.02%     
==========================================
  Files         213      213              
  Lines       34073    34129      +56     
==========================================
+ Hits        22237    22270      +33     
- Misses      10501    10521      +20     
- Partials     1335     1338       +3     

☔ View full report in Codecov by Sentry.
📢 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.

@zirain zirain requested a review from arkodg March 22, 2025 04:15
@zirain
Copy link
Copy Markdown
Member Author

zirain commented Mar 22, 2025

@arkodg should we highlight that EG does not guarantee with zero downtime when using customized name?

shawnh2
shawnh2 previously approved these changes Mar 22, 2025
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

won't be have infrastructure twice

LogComponentInfrastructureRunner EnvoyGatewayLogComponent = "infrastructure"
? should this be kubernetes instead ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice !

@zirain zirain force-pushed the fixes/4380 branch 2 times, most recently from 2029a05 to 40208e6 Compare March 27, 2025 23:51
arkodg
arkodg previously approved these changes Mar 28, 2025
Copy link
Copy Markdown
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@arkodg arkodg requested review from a team March 28, 2025 00:23
@zirain zirain requested a review from arkodg March 28, 2025 00:27
zirain added 6 commits March 28, 2025 15:12
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@arkodg arkodg merged commit e716450 into envoyproxy:main Mar 28, 2025
25 checks passed
@zirain zirain deleted the fixes/4380 branch March 28, 2025 19:59
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.

Envoy Proxy deployment is not cleaned up when we customize the deployment name, replicas using EnvoyProxy resource

4 participants