diff --git a/pkg/plugins/runtime/k8s/controllers/gateway_instance_controller.go b/pkg/plugins/runtime/k8s/controllers/gateway_instance_controller.go index a0ecd05b86e6..514f9ee3f25b 100644 --- a/pkg/plugins/runtime/k8s/controllers/gateway_instance_controller.go +++ b/pkg/plugins/runtime/k8s/controllers/gateway_instance_controller.go @@ -123,6 +123,13 @@ func (r *GatewayInstanceReconciler) createOrUpdateService( } svcAnnotations := map[string]string{metadata.KumaGatewayAnnotation: metadata.AnnotationBuiltin} + + if obj != nil { + for k, v := range obj.GetAnnotations() { + svcAnnotations[k] = v + } + } + for k, v := range gatewayInstance.Spec.ServiceTemplate.Metadata.Annotations { svcAnnotations[k] = v }