-
Notifications
You must be signed in to change notification settings - Fork 360
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
provider: finalize EnvoyProxy referenced by a managed GatewayClass #1534
provider: finalize EnvoyProxy referenced by a managed GatewayClass #1534
Conversation
4c8ff65
to
535b66a
Compare
Codecov Report
@@ Coverage Diff @@
## main #1534 +/- ##
==========================================
+ Coverage 65.08% 65.20% +0.11%
==========================================
Files 86 86
Lines 12476 12518 +42
==========================================
+ Hits 8120 8162 +42
- Misses 3835 3837 +2
+ Partials 521 519 -2
|
49674be
to
9d4cfa1
Compare
5cd8828
to
75672f2
Compare
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, when it's ready. Thank you for your contributions! |
sorry for the delay in review @cnvergence, added some comments, can you please rebase as well, thanks ! |
9d8523d
to
add74e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for hanging in there !
hey @cnvergence trying to understand if this flows has been validated
|
@arkodg Yes, we should, but currently if GatewayClass stops referencing a EnvoyProxy, the EnvoyProxy resource will remain on the cluster. |
@cnvergence if we merge this PR, it feels like a regression for this case
|
318ae8a
to
cefe3bb
Compare
@arkodg you've got the point there |
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
7c25ea0
to
5fe8c4e
Compare
} | ||
r.log.Error(err, "failed to process parametersRef for gatewayclass", "name", acceptedGC.Name) | ||
return reconcile.Result{}, err | ||
if err := r.processParamsRef(ctx, acceptedGC, resourceTree); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if acceptedGC.Spec.ParametersRef != nil
is removed from here, can we add it back ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like we can't, since this is the only code flow which can remove a finalizer from an unreferenced envoyproxy resource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks @cnvergence !
…Class (envoyproxy#1534)" This reverts commit e158ef1. Signed-off-by: Arko Dasgupta <arko@tetrate.io>
…Class (envoyproxy#1534)" This reverts commit e158ef1. Signed-off-by: Arko Dasgupta <arko@tetrate.io>
What type of PR is this?
Add support for envoy proxy finalizers managed by GatewayClass
Which issue(s) this PR fixes:
Fixes: