camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

[E2E] Add tests for enabling traits at IntegrationPlatform

Open tadayosi opened this issue 3 years ago • 0 comments

As a follow-up to #3205, there's no test coverage that verifies Integration runs when traits are enabled at IntegrationPlatform like this:

apiVersion: camel.apache.org/v1
kind: IntegrationPlatform
metadata:
  labels:
    app: camel-k
  name: camel-k
spec:
  traits:
    addons:
      tracing:
        enabled: true
    jolokia:
      enabled: true

Unlike when enabled at Integration, these tests can make sure the traits don't crash during kit building as when they are enabled at IntegrationPlatform they are also forced to be enabled during kit building while an integration is still absent.

tadayosi avatar Jul 22 '22 06:07 tadayosi