Skip to content

Commit fb875f1

Browse files
committed
status: Omit gateways namespace in relatedObjects
Omit the namespace for the gateways resource in relatedObjects as Istio manages gateways in all namespaces. * pkg/operator/controller/status/controller.go (Reconcile): Remove the namespace for gateways.
1 parent 575c354 commit fb875f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/operator/controller/status/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func (r *reconciler) Reconcile(ctx context.Context, request reconcile.Request) (
219219
related = append(related, configv1.ObjectReference{
220220
Group: gatewayapiv1.GroupName,
221221
Resource: "gateways",
222-
Namespace: state.IngressNamespace.Name,
222+
Namespace: "", // Include all namespaces.
223223
})
224224
}
225225
}

0 commit comments

Comments
 (0)