romain-pfund commented on code in PR #5650: URL: https://github.com/apache/camel-k/pull/5650#discussion_r1642909061
########## pkg/trait/ingress.go: ########## @@ -126,6 +128,15 @@ func (t *ingressTrait) Apply(e *Environment) error { }, } + if len(t.TLSHosts) > 0 || len(strings.TrimSpace(t.TLSSecretName)) > 0 { + ingress.Spec.TLS = []networkingv1.IngressTLS{ + { + Hosts: t.TLSHosts, + SecretName: t.TLSSecretName, + }, + } + } Review Comment: ok, doubled check with the doc, and yes, need both. so I'll change to "and" and add more tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org