provider: finalize EnvoyProxy referenced by a managed GatewayClass#1534
provider: finalize EnvoyProxy referenced by a managed GatewayClass#1534Alice-Lilith merged 11 commits intoenvoyproxy:mainfrom
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
|
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.
if acceptedGC.Spec.ParametersRef != nil is removed from here, can we add it back ?
There was a problem hiding this comment.
looks like we can't, since this is the only code flow which can remove a finalizer from an unreferenced envoyproxy resource
arkodg
left a comment
There was a problem hiding this comment.
LGTM thanks @cnvergence !
…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: