Evynglais opened a new issue, #6014: URL: https://github.com/apache/camel-k/issues/6014
### What happened? Using the Prometheus trait with a Knative Camel-K integration results in an invalid PodMonitor configuration (a port that doesn't exist). ### Steps to reproduce 1. Deploy a Camel-K integration as a Knative service, with `--trait prometheus.enabled=true`. ```yaml kamel run "${SCRIPT_DIR}"/pre.ingress.camel.yaml --name pre-ingress \ --trait knative-service.min-scale=1 \ --trait prometheus.enabled=true \ --property quarkus.kubernetes-config.enabled=true \ --property quarkus.kubernetes-config.config-maps=pre.ingress.ibm.config ``` 2. Observe the target group on Prometheus; it will be empty.  3. Observe the podmonitor created by Camel-K; it will reference port 'h2c' which doesn't exist.  Actual ports:   ### Relevant log output _No response_ ### Camel K version 2.5.0 -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org