This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 5648e465c712502e7cabd98efd6ce041aaddf7d9 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Nov 29 12:49:31 2021 +0100 Default value of trait container.port-name is missing from catalog --- pkg/trait/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/trait/container.go b/pkg/trait/container.go index 7ae6164..cefacf8 100644 --- a/pkg/trait/container.go +++ b/pkg/trait/container.go @@ -68,7 +68,7 @@ type containerTrait struct { Expose *bool `property:"expose" json:"expose,omitempty"` // To configure a different port exposed by the container (default `8080`). Port int `property:"port" json:"port,omitempty"` - // To configure a different port name for the port exposed by the container (default `http`). + // To configure a different port name for the port exposed by the container. it defaults to `http` only when the `expose` parameter is true. PortName string `property:"port-name" json:"portName,omitempty"` // To configure under which service port the container port is to be exposed (default `80`). ServicePort int `property:"service-port" json:"servicePort,omitempty"`