squakez commented on issue #3494: URL: https://github.com/apache/camel-k/issues/3494#issuecomment-1196769093
It seems the `Service` is annotated correctly. I've just tested with an example as: ``` import org.apache.camel.builder.RouteBuilder; public class PlatformHttpServer extends RouteBuilder { @Override public void configure() throws Exception { from("platform-http:/hello?httpMethodRestrict=GET").setBody(simple("Hello ${header.name}")); } } ... $ kamel run PlatformHttpServer.java --annotation test=my-test -t owner.target-annotations=test --dev ... $ k get svc platform-http-server -o yaml apiVersion: v1 kind: Service metadata: annotations: test: my-test creationTimestamp: "2022-07-27T13:28:29Z" labels: camel.apache.org/generation: "1" camel.apache.org/integration: platform-http-server camel.apache.org/service.type: user ... ``` -- 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