contour
contour copied to clipboard
Add GatewayClass finalizer
Please describe the problem you have When a controller starts managing a Gateway, it is supposed to update its GatewayClass with a finalizer so that the GatewayClass cannot be deleted while there are still Gateways referring to it.
https://gateway-api.sigs.k8s.io/v1alpha2/references/spec/#gateway.networking.k8s.io/v1alpha2.GatewayClass
Whenever one or more Gateways are using a GatewayClass, implementations MUST add the gateway-exists-finalizer.gateway.networking.k8s.io finalizer on the associated GatewayClass. This ensures that a GatewayClass associated with a Gateway is not deleted while in use.
Thanks @izturn, looks like this is a dupe of #3866 but we can close the old one out and track here.
@skriss thx, I saw your comments for https://github.com/envoyproxy/gateway/pull/373, pls show me how to implement it for contour, I like to implement it
There is currently some upstream discussion on whether this should be part of the Gateway API spec or not (https://github.com/kubernetes-sigs/gateway-api/issues/1411), let's hold off on doing anything until that is resolved.
got it
The Contour project currently lacks enough contributors to adequately respond to all Issues.
This bot triages Issues according to the following rules:
- After 60d of inactivity, lifecycle/stale is applied
- After 30d of inactivity since lifecycle/stale was applied, the Issue is closed
You can:
- Mark this Issue as fresh by commenting
- Close this Issue
- Offer to help out with triage
Please send feedback to the #contour channel in the Kubernetes Slack
The Contour project currently lacks enough contributors to adequately respond to all Issues.
This bot triages Issues according to the following rules:
- After 60d of inactivity, lifecycle/stale is applied
- After 30d of inactivity since lifecycle/stale was applied, the Issue is closed
You can:
- Mark this Issue as fresh by commenting
- Close this Issue
- Offer to help out with triage
Please send feedback to the #contour channel in the Kubernetes Slack