knockknock10 opened a new pull request, #6966: URL: https://github.com/apache/camel-k/pull/6966
## What does this PR do? Adds end-to-end tests for the Owner trait to verify that its configuration is correctly applied to the Kubernetes resources generated for an Integration. ## What is covered? - **Selected labels and annotations:** verifies that only the configured metadata keys are propagated to the Deployment and its Pod template. - **Wildcard propagation:** verifies that configuring `owner.target-labels=*` and `owner.target-annotations=*` propagates all Integration labels and annotations. - **Existing metadata preservation:** verifies that owner metadata propagation does not overwrite annotations already present on the Deployment. - **Owner references:** verifies the generated Deployment's Integration owner reference, including API version, kind, name, UID, controller and block-owner-deletion fields. - **Disabled Owner trait:** verifies that setting `owner.enabled=false` prevents metadata propagation and owner-reference creation. ## Scope This change adds E2E test coverage only. No production code is modified. ## Testing The tests are integration-tagged and require a configured Kubernetes environment. They have not been executed as part of this change yet. -- 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]
