From 8e4330d9d30b32c4b9c80650370cde696ab86676 Mon Sep 17 00:00:00 2001 From: cfitzw <20694057+cfitzw@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:04:06 -0600 Subject: [PATCH] Update ingress.go --- pkg/apis/camel/v1/trait/ingress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/camel/v1/trait/ingress.go b/pkg/apis/camel/v1/trait/ingress.go index f8125bff13..00bffc845a 100644 --- a/pkg/apis/camel/v1/trait/ingress.go +++ b/pkg/apis/camel/v1/trait/ingress.go @@ -37,9 +37,9 @@ type IngressTrait struct { // To configure the host exposed by the ingress. Host string `property:"host" json:"host,omitempty"` // To configure the path exposed by the ingress (default `/`). + // Deprecated: In favor of `paths` - left for backward compatibility. Path string `property:"path" json:"path,omitempty"` // To configure the paths exposed by the ingress (default `['/']`). - // Deprecated: In favor of `paths` - left for backward compatibility. Paths []string `property:"paths" json:"paths,omitempty"` // To configure the path type exposed by the ingress. // One of `Exact`, `Prefix`, `ImplementationSpecific` (default to `Prefix`).