Skip to content

Modularization: Ingress #24601

@sayboras

Description

@sayboras

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.

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

No one assigned

    Labels

    area/agentCilium agent related.area/proxyImpacts proxy components, including DNS, Kafka, Envoy and/or XDS servers.pinnedThese issues are not marked stale by our issue bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions