knockknock10 opened a new pull request, #6967: URL: https://github.com/apache/camel-k/pull/6967
Closes #6961 Adds end-to-end coverage for the Environment trait by exercising its injected variables in a running Camel timer route. ### Coverage - Verifies that a custom variable configured through `environment.vars` is available to the running route. - Uses Camel Simple expressions to read `NAMESPACE`, `POD_NAME`, `CAMEL_K_INTEGRATION`, and the custom variable, then verifies the expected message in the Integration logs. - Verifies that `environment.container-meta=false` prevents the `NAMESPACE` and `POD_NAME` variables from being injected. - Verifies that `environment.http-proxy=false` prevents proxy variables from being propagated. - Confirms that custom variables continue to be injected when container metadata and proxy propagation are disabled. ### Scope Adds E2E test coverage and its Java route fixture only. No production code is modified. ### Testing The integration tests require a configured Kubernetes environment. They have not been executed in this environment. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
