-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set env var OPERATOR_ID in Helm installation #3739
Comments
Hi, there is a bug with There is a workaround to set With the upcoming fix in However this only solves on part of your problem. The missing option on the Helm chart still is a problem. I guess you would expect the Helm chart to set the default |
Hi Christoph, thanks for responding so quickly :-) I totally agree regarding the helm chart. A new optional helm variable Regarding explanation of the default "camel-k" at https://camel.apache.org/camel-k/1.10.x/installation/advanced/multi.html: I think a brief hint could be helpful, that there will be no default operator id if neither of the env variables |
I have seen the fix in #3657. But it seems again that the helm chart has no possibility to set the environment variables. I missed i something? |
@MehrCurry - this is the fix. Works like a charm - thanks guys! :-) |
As per https://camel.apache.org/camel-k/1.10.x/installation/advanced/multi.html the env var OPERATOR_ID must be set on the operator deployment to set the operator id. However the current helm chart doesn't expose the option to set any custom env vars in templates/operator.yaml.
In addition, default behaviour as described at https://camel.apache.org/camel-k/1.10.x/installation/advanced/multi.html does not apply - at least when deploying operator and integrations to a namespace other than camel-k:
Any Integration CRs annotated with the default "camel.apache.org/operator.id: camel-k" won't get picked up by the operator without OPERATOR_ID env variable set. The operator will only pick up the Integration CR after (manually) deleting the annotation. (So it seems the default operator-id is NULL rather than "camel-k".)
The text was updated successfully, but these errors were encountered: