Skip to content

Commit

Permalink
Set UID in Brokers backing channels EventPolicies OwnerReference (#8143)
Browse files Browse the repository at this point in the history
Fix: set UID in Brokers backing channels EventPolicies OwnerReference
  • Loading branch information
creydr authored Aug 9, 2024
1 parent b58b30d commit ecb6c01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/reconciler/broker/resources/eventpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func MakeEventPolicyForBackingChannel(b *eventingv1.Broker, backingChannel *even
APIVersion: eventingv1.SchemeGroupVersion.String(),
Kind: brokerKind,
Name: b.Name,
UID: b.UID,
},
},
Labels: LabelsForBackingChannelsEventPolicy(b),
Expand Down

0 comments on commit ecb6c01

Please sign in to comment.