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
- fix(trait): merge integrationplatform trait Closes #6006 — committed to squakez/camel-k by squakez 2 years ago
- fix(trait): merge integrationplatform trait Closes #6006 — committed to squakez/camel-k by squakez 2 years ago
- fix(trait): merge integrationplatform trait Closes #6006 — committed to apache/camel-k by squakez 2 years ago
Can you add
traits.camel.runtimeVersionto theIntegrationPlatformand try again ?