Add variables, templating & fix formatting #180
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What/Why ?
This PR contains several modest bugfixes & improvements for better customization capabilities.
cf details in each individual commit message (they are pretty autonomous).
Notes
About 1st commit
Fix formatting of 'redash.env' function
:It's about fixing a bug in the chart for one specific (non default) use-case: when we using an external postgres + redis.
Basically like this (on master branch) :
And with the
--debug
option, we can see the issue in the generated yamls:=> missing new lines
Thus my 1st commit that ensure proper newlines are in place.
NB: I'm seeing just now that a PR already exists for (part of) this issue: #176
I recommend to keep "my" version, because I cover both cases: postgres & redis, not just redis.
About all commits
I compared the generated manifests (using chart's default values) between the "before" and "after" my PR, cf:
helm template .
=> no change (except some white-spaces at the end of some lines)
So, it shouldn't create any regression 😃