-
Notifications
You must be signed in to change notification settings - Fork 289
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
helm option is added for config source #936
helm option is added for config source #936
Conversation
helm/botkube/values.yaml
Outdated
# -- Base source definition | ||
source: |
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.
Can we change that to provider
as Mateusz suggested?
# -- Base source definition | |
source: | |
# -- Configuration provider details | |
provider: |
- name: CONFIG_SOURCE_ENDPOINT | ||
value: {{ .Values.config.source.endpoint }} | ||
{{- end }} | ||
{{- if .Values.config.source.identifier }} | ||
- name: CONFIG_SOURCE_IDENTIFIER |
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.
Once we change values, can we also rename these envs to CONFIG_PROVIDER_ENDPOINT
and CONFIG_PROVIDER_IDENTIFIER
?
Updated both helm values and botkube core, as well as screenshots with pr descriptions |
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.
LGTM 🚀
Description
Changes proposed in this pull request:
config.provider.endpoint
helm option is addedconfig.provider.identifier
helm option is addedTesting
With config source
helm install --version v0.17.0 botkube --namespace botkube --create-namespace \ --set settings.clusterName=dev \ --set executors.kubectl-read-only.kubectl.enabled=true \ --set 'executors.helm.botkube/helm.enabled'=false \ --set config.provider.identifier=12123 \ --set config.provider.endpoint=http://localhost:8080/graphql \ ./helm/botkube
Without config source
helm install --version v0.17.0 botkube --namespace botkube --create-namespace \ --set settings.clusterName=dev \ --set executors.kubectl-read-only.kubectl.enabled=true \ --set 'executors.helm.botkube/helm.enabled'=false \ ./helm/botkube
Related issue(s)
Resolves #931