Skip to content

Controller should filter based on controller name or linked GatewayClass #7566

@yurrriq

Description

@yurrriq

Description

tl;dr I would like the controller to filter based on controller name or linked GatewayClass, instead of just Gateway name and namespace.

  • ns/foo
    • GatewayClass/foo with controllerName: example.com/foo
    • EnvoyGateway watches all namespaces
    • Gateway/foo with gatewayClassName: foo
  • ns/bar
    • GatewayClass/bar with controllerName: example.com/bar
    • EnvoyGateway watches namespaces [a, b, c]
    • Gateway/bar with controllerName: bar
  • ns/baz
    • GatewayClass/baz with controllerName: example.com/baz
    • EnvoyGateway watches namespaces [d, e, f]
    • Gateway/baz with controllerName: baz
  • various namespaces
    • *Route resources with parentRefs: [{kind: Gateway, name: <foo | bar | baz>, namespace: <same as name>}]

Current behaviour

controller foo mutates Gateways bar and baz, resulting in Programmed=False

Desired outcome

Controller foo DOES NOT mutate Gateways bar or baz, and all three stacks coexist peacefully.

Relevant Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededkind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions