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

Add support to properly run out of cluster

Open rodcloutier opened this issue 1 year ago • 1 comments

This PR intends to solve some issue encountered while running the operator out of cluster.

Current namespace requirement

We must be able to find the current namespace. If not is specified/detected we cannot keep going on as we will eventually require the namespace to be defined to create the integration plaform objects.

The proposed solution is to not allow both NAMESPACE and WATCH_NAMESPACE to be empty as it creates an issue.

Current operator image detection

The other issue, it that when running out of cluster, we inherently cannot, when requested, detect the current image as we are not in a pod.

The proposed solution is to simply return the default operator image and never return an empty image as it is used later in the operator execution.

Release Note

NONE

rodcloutier avatar Jan 25 '24 16:01 rodcloutier

This PR has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions!

github-actions[bot] avatar May 07 '24 00:05 github-actions[bot]