Skip to content
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] Add config.templates #563

Merged
merged 4 commits into from
Jan 20, 2021
Merged

[kube-prometheus-stack] Add config.templates #563

merged 4 commits into from
Jan 20, 2021

Conversation

kmaris
Copy link

@kmaris kmaris commented Jan 11, 2021

Without config.templates defined any templates defined in templateFiles
will not be loaded. The default location and suffix are in line with the
examples in the alertmanager and kube-prometheus-stack docs.

Signed-off-by: Kevin Maris kevin@kmaris.net

What this PR does / why we need it:

Without config.templates set templateFiles will not be loaded in alertmanager.

Which issue this PR fixes

Special notes for your reviewer:

I was unsure of wording for the templateFiles doc section. Happy to update if you prefer something else.

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Without config.templates defined any templates defined in templateFiles
will not be loaded. The default location and suffix are in line with the
examples in the alertmanager and kube-prometheus-stack docs.

Signed-off-by: Kevin Maris <kevin@kmaris.net>
Copy link
Member

@monotek monotek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kmaris i've update the chart version with the online editor.
unfortunatly the dco check fails now.

i was not sure if its a bugfix as there was a new value added. therefore i've raised minor version.

Signed-off-by: Kevin Maris <kevin@kmaris.net>
@kmaris
Copy link
Author

kmaris commented Jan 19, 2021

I didn't exactly know what to bump it too either, thanks :) Signed-off!

Copy link
Contributor

@bismarck bismarck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bismarck bismarck merged commit 038b188 into prometheus-community:main Jan 20, 2021
stamzid pushed a commit to Unstructured-IO/prometheus-community-helm-charts that referenced this pull request Mar 3, 2023
* [kube-prometheus-stack] Add config.templates

Without config.templates defined any templates defined in templateFiles
will not be loaded. The default location and suffix are in line with the
examples in the alertmanager and kube-prometheus-stack docs.

Signed-off-by: Kevin Maris <kevin@kmaris.net>

* Update Chart.yaml

Signed-off-by: Kevin Maris <kevin@kmaris.net>

Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: Bismarck Paliz <bismarck.paliz@jet.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[alertmanager] templateFiles doesn't seem to be mounted inside pod
3 participants