From 96ff32ea68b18fce75ac0d58d7031a801e239261 Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Wed, 22 Oct 2025 16:06:20 -0700 Subject: [PATCH] [edge-functions] label EdgeFunctionRevisions with the EdgeFunction name --- pkg/apiserver/extensions/edgefunction.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/apiserver/extensions/edgefunction.go b/pkg/apiserver/extensions/edgefunction.go index 631bc3b..d67b74b 100644 --- a/pkg/apiserver/extensions/edgefunction.go +++ b/pkg/apiserver/extensions/edgefunction.go @@ -71,8 +71,10 @@ func (r *EdgeFunctionReconciler) startIngest( rev = &extensionsv1alpha2.EdgeFunctionRevision{ ObjectMeta: metav1.ObjectMeta{ - Name: revName, - Labels: map[string]string{}, + Name: revName, + Labels: map[string]string{ + "extensions.apoxy.dev/edgefunction": obj.Name, + }, Annotations: map[string]string{}, }, Spec: *obj.Spec.Template.DeepCopy(),