camel-k
camel-k copied to clipboard
fix: Prevent operator panic on wrong Kamelet binding
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
The builds are failing due to:
- TestNativeIntegrations/automatic_rollout_deployment_from_fast-jar_to_native_kit
- TestKitKnativeFullBuild
Both are not related to these changes
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