camel-k: Integration stuck at Building Kit if properties are defined, but the runtime is not

What happened?

Consider the following Integration:

apiVersion: camel.apache.org/v1
kind: Integration
metadata:
  name: bugproperties
spec:  
  sources:
  - name: main.yaml
    content: |-
      - from:
          uri: rest:get:/demo
          steps:
          - setBody:
              constant: "It worked"
  traits:
    health:
      enabled: true
    camel:
      properties:
      - hello=world

When I apply it to my cluster, the Integrations remains stuck at Building Kit:

k get it
NAME            PHASE          READY   RUNTIME PROVIDER   RUNTIME VERSION   KIT   REPLICAS
bugproperties   Building Kit           quarkus            3.2.3                   

If I include the runtimeVersion at the camel trait:

    camel:
      runtimeVersion: 3.2.3
      properties:
      - hello=world

or remove the trait completely, the integration build finishes successfully.

I checked the operator log and there is no error message related to the trait. Logs look good as usual.

Steps to reproduce

No response

Relevant log output

No response

Camel K version

2.4.0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

@eshepelyuk sure. The Integration is the one in the description of this issue. The ITP is a basic one:

apiVersion: camel.apache.org/v1
kind: IntegrationPlatform
metadata:
  labels:
    app: camel-k
  name: camel-k
  namespace: camel-k
spec:
  build:
    registry:
      address: <redacted>
      organization: camel-k
      insecure: true
``

Can you add traits.camel.runtimeVersion to the IntegrationPlatform and try again ?