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()), }) } diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 3bdcc32c..8bec5d2e 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -19,4 +19,4 @@ kind: Kustomization images: - name: controller newName: ghcr.io/dataworkflowservices/dws - newTag: 0.1.7 + newTag: 0.1.8