diff --git a/controller/konnect/watch_kongsni.go b/controller/konnect/watch_kongsni.go index 57b176687..9e8218e6c 100644 --- a/controller/konnect/watch_kongsni.go +++ b/controller/konnect/watch_kongsni.go @@ -76,7 +76,7 @@ func enqueueKongSNIForKongCertificate( sniList := configurationv1alpha1.KongSNIList{} if err := cl.List(ctx, &sniList, client.InNamespace(cert.Namespace), client.MatchingFields{ - IndexFieldKongPluginBindingKongServiceReference: cert.Name, + IndexFieldKongSNIOnCertificateRefNmae: cert.Name, }, ); err != nil { return nil