diff --git a/controller/dataplane/konnect_extension.go b/controller/dataplane/konnect_extension.go index 14190cc7c..6365c037b 100644 --- a/controller/dataplane/konnect_extension.go +++ b/controller/dataplane/konnect_extension.go @@ -19,8 +19,11 @@ import ( ) var ( - ErrCrossNamespaceReference = errors.New("cross-namespace reference is not currently supported for Konnect extensions") - ErrKonnectExtensionNotFound = errors.New("konnect extension not found") + // ErrCrossNamespaceReference is returned when a Konnect extension references a different namespace. + ErrCrossNamespaceReference = errors.New("cross-namespace reference is not currently supported for Konnect extensions") + // ErrKonnectExtensionNotFound is returned when a Konnect extension is not found. + ErrKonnectExtensionNotFound = errors.New("konnect extension not found") + // ErrClusterCertificateNotFound is returned when a cluster certificate secret referenced in the KonnectExtension is not found. ErrClusterCertificateNotFound = errors.New("cluster certificate not found") )