diff --git a/api/v1alpha2/owner_labels.go b/api/v1alpha2/owner_labels.go index 2af9d95b..313f618c 100644 --- a/api/v1alpha2/owner_labels.go +++ b/api/v1alpha2/owner_labels.go @@ -63,6 +63,7 @@ func MatchingOwner(owner metav1.Object) client.MatchingLabels { OwnerKindLabel: reflect.Indirect(reflect.ValueOf(owner)).Type().Name(), OwnerNameLabel: owner.GetName(), OwnerNamespaceLabel: owner.GetNamespace(), + OwnerUidLabel: string(owner.GetUID()), }) }