-
Notifications
You must be signed in to change notification settings - Fork 295
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
Reload Botkube on remote config change #1006
Conversation
45b6ee4
to
908879a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one of you will end-up with conflicts 😄
#1007
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested e2e, works great 🚀
{{- if .Values.config.provider.endpoint }} | ||
- name: CONFIG_PROVIDER_ENDPOINT | ||
value: {{ .Values.config.provider.endpoint }} | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey guys,
Nice job with this bot, really helpful 👍
I just saw the {{- if .Values.config.provider.endpoint }}
was removed.
Any particular reason for it?
This is an old commit but this change is still on HEAD.
Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @joselcvarela 👋
I'm glad you like Botkube! 🚀
Regarding this change, while we could maintain it, we're currently using the default value here:https://github.com/kubeshop/botkube/blob/main/helm/botkube/values.yaml#L1228.
As long as you don't remove or override it, it should render properly.
However, this endpoint will only be utilized if the CONFIG_PROVIDER_IDENTIFIER
is set; otherwise, it will be ignored, and the local configuration will be used. In such cases, no external calls are executed. You can find the code responsible for this here.
Did you encounter any problems with it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your response.
No, I haven't seen any issue so far.
I was just looking through the values passed to templates, and this part was intriguing me 👍
Keep on with the good job 🙌
Description
Changes proposed in this pull request:
Limitations
As the TODO comment states, right now Botkube will reload on every config change:
This is something to address in future.
Follow-ups