-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[kube-prometheus-stack] Issue #333 #334
Conversation
…yaml file Signed-off-by: Ryan Dyer <ryan-dyer-sp@users.noreply.github.com>
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.
After reading helm/helm#2492 (comment), this PR is a no for me.
Can you provide additional info other than see Issue that has been going on for 3 years? The use of the tpl function in order to template values.yaml files is documented here: https://helm.sh/docs/howto/charts_tips_and_tricks/ . It is also already used in this chart in dozens of locations already:
Looking at the above, I see that the changes I suggest dont follow the same format as others and I'm happy to make them look the same. Or if there is an alternate solution that could be suggested, I'll work on it. |
@vsliouniaev Care to chime in? I don't think it's wise to have templating in values.yaml. As stated in the issue linked:
|
Any update? Though I can appreciate the opinion, it doesnt appear to be an opinion that is officially supported by helm given their support for the tpl function and documentation on how to use it. And as mentioned this isnt something that doesnt already exist within the repo in multiple places. |
Signed-off-by: Ryan Dyer <ryan-dyer-sp@users.noreply.github.com>
I think there's some confusion here. This is adding template interpolation of values within template files, not templating values.yaml. |
@bismarck I'm ok with this, since it's just use of the tpl function. |
@ryan-dyer-sp Could you bump the chart version one more time? |
@bismarck To 11.1.5? I'm showing .3 to be the most recent. |
@ryan-dyer-sp 11.1.4 is the most recent. Could you bump to .5? |
…mmunity#334) * prometheus-community#333 - allow additional templating within values.yaml file Signed-off-by: Ryan Dyer <ryan-dyer-sp@users.noreply.github.com> * match tpl+toyaml+indent ordering Signed-off-by: Ryan Dyer <ryan-dyer-sp@users.noreply.github.com>
Allow additional templating within values.yaml file
Signed-off-by: Ryan Dyer ryan-dyer-sp@users.noreply.github.com
What this PR does / why we need it:
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
@bismarck @vsliouniaev @gianrubio @gkarthiks @scottrigby @Xtigyro For review please.
Checklist
[prometheus-couchdb-exporter]
)