Skip to content

Policy with targetSelector targeting multiple gateways does not show both ancestors #6125

Open
@BadLiveware

Description

@BadLiveware

Description:
When targeting resources across multiple gateways with targetSelectors, the status of the policy will only contain one gateway, and it will continously rotate between the targeted gateways

Repro steps:
Create two gateways, attach two httproutes to the gateways(one per), and use targetSelector to target one policy(We see it with BackendTrafficPolicy and SecurityPolicy) to both httproutes

GW-1 <- HTTPRoute-1
              \ 
               BackendTrafficPolicy
              /
GW-2 <- HTTPRoute-2

Environment:
Seeing it both on 1.3.0 and 1.4.0

We did previously see a similar issue attaching a HTTPRoute to multiple gateways which was solved in #4264

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions