squakez commented on PR #4156:
URL: https://github.com/apache/camel-k/pull/4156#issuecomment-1488792778

   I managed to have both version of APIs, and in theory we are not needing a 
webhook because `Binding` is new and `KameletBinding` is going to be dropped. 
However, I am having some problem with the new `v1.Kamelet`. For some reason, I 
am no longer able to run a reconciliation because it fails when trying to patch 
the `Status: Ready`. This is the kind of error I got on almost all the Kamelets 
when I try to apply them from `kubectl` (it is the same error reported in 
operator log):
   ```
   The Kamelet "timer-source-2" is invalid: 
   * spec.definition.properties.contentType.default: Invalid value: "string": 
spec.definition.properties.contentType.default in body must be of type object: 
"string"
   * spec.definition.properties.message.example: Invalid value: "string": 
spec.definition.properties.message.example in body must be of type object: 
"string"
   * spec.definition.properties.period.default: Invalid value: "integer": 
spec.definition.properties.period.default in body must be of type object: 
"integer"
   ```
   @astefanutti @lburgazzoli any idea where this is coming from? Mind that 
there is no change at all between `v1alpha1` and `v1`, but when a `v1.Kamelet` 
is created, now, that's what happens. I even tried to run with `validate=false` 
to avoid any kind of validation, but it's the same error.


-- 
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]

Reply via email to