-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
area/agentCilium agent related.Cilium agent related.area/proxyImpacts proxy components, including DNS, Kafka, Envoy and/or XDS servers.Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers.pinnedThese issues are not marked stale by our issue bot.These issues are not marked stale by our issue bot.
Description
Description
The current Ingress Controller is living under legacy.Cell, we should move it to separate Cell. While doing this, consider applying the new List-Watch pattern like what we have with Resource.
cilium/pkg/k8s/resource/resource.go
Lines 42 to 55 in e63d79b
type Resource[T k8sRuntime.Object] interface { | |
// Events returns a channel of events. Each event must be marked as handled | |
// with a call to Done(), otherwise no new events for this key will be emitted. | |
// | |
// When Done() is called with non-nil error the error handler is invoked, which | |
// can ignore, requeue the event or close the channel. The default error handler | |
// will requeue. | |
Events(ctx context.Context, opts ...EventsOpt) <-chan Event[T] | |
// Store retrieves the read-only store for the resource. Blocks until | |
// the store has been synchronized or the context cancelled. | |
// Returns a non-nil error if context is cancelled or the resource | |
// has been stopped before store has synchronized. | |
Store(context.Context) (Store[T], error) |
Metadata
Metadata
Assignees
Labels
area/agentCilium agent related.Cilium agent related.area/proxyImpacts proxy components, including DNS, Kafka, Envoy and/or XDS servers.Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers.pinnedThese issues are not marked stale by our issue bot.These issues are not marked stale by our issue bot.