Evynglais commented on issue #6014: URL: https://github.com/apache/camel-k/issues/6014#issuecomment-2586957781
Apologies for the delay; I've tried the `port-name=user-port` trait configuration, and Knative isn't happy with it: ``` admission webhook \"validation.webhook.serving.knative.dev\" denied the request: validation failed: Port name user-port is not allowed: spec.template.spec.containers[0].ports\nName must be empty, or one of: 'h2c', 'http1']" ``` It should be `h2c` (which is what Camel-K is already doing), it's just that when we write the `PodMonitor`, it needs to be `user-port` instead. -- 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