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

fix: Prevent operator panic on wrong Kamelet binding

Open essobedo opened this issue 2 years ago • 2 comments

fixes #3586

Motivation

A Kamelet binding in the wrong format can lead to operator panic which needs to be avoided.

Modifications:

  • Adds a function to verify the Kamelet binding to return an error in case of an invalid format.

Release Note

fix: Prevent operator panic on wrong Kamelet binding

essobedo avatar Aug 31 '22 15:08 essobedo

The builds are failing due to:

  • TestNativeIntegrations/automatic_rollout_deployment_from_fast-jar_to_native_kit
  • TestKitKnativeFullBuild

Both are not related to these changes

essobedo avatar Sep 01 '22 07:09 essobedo

Ok no problem once https://github.com/apache/camel-k-runtime/pull/868 will be fixed, I will try to find a more elegant approach

essobedo avatar Sep 07 '22 08:09 essobedo