-
Notifications
You must be signed in to change notification settings - Fork 52
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
feat: allow overriding rudder-config.yaml settings from values.yaml #59
feat: allow overriding rudder-config.yaml settings from values.yaml #59
Conversation
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.
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
README.md
Outdated
@@ -93,7 +94,8 @@ $ helm install --name my-release \ | |||
``` | |||
|
|||
**Note:** Configuration specific to: | |||
- Backend can be edited in [rudder-config.yaml](https://docs.rudderlabs.com/administrators-guide/config-parameters). | |||
|
|||
- Backend can be edited in [rudder-config.yaml](https://docs.rudderlabs.com/administrators-guide/config-parameters). or in values.yaml under `backend.config.overrides`. |
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.
The mentioned doc link is broken
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.
Created a separate issue to fix this after this merge
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.
We have deprecated this guide as it had outdated information. Should we just point to the rudder-config.yaml
file? @gitcommitshow @gane5hvarma
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.
I can do that @ameypv-rudder
@@ -69,6 +69,12 @@ backend: | |||
|
|||
config: | |||
mountPath: "/etc/rudderstack" | |||
# -- rudder-server config overrides | |||
# See [config parameters](https://docs.rudderlabs.com/administrators-guide/config-parameters) for more details |
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.
The doc link provided doesn't exist..
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.
Yep - as mentioned above:
We have deprecated this guide as it had outdated information. Should we just point to the rudder-config.yaml file?
@@ -1,3 +1,5 @@ | |||
{{- $baseConfig := .Files.Get "rudder-config.yaml" | fromYaml -}} | |||
{{- $rudderConfig := mustMergeOverwrite $baseConfig .Values.backend.config.overrides -}} |
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.
this code is duplicated... Can we write a helm function returning the template and use it for checksum and config yaml instead??
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.
sorry, i missed that, i can always put in another PR
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 you please address the comments if this change is not super urgent for 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.
LGTM.
Description of the change
Type of change
Related issues
Checklists
Development
Code review