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

Alertmanager test #204

Draft
wants to merge 43 commits into
base: main
Choose a base branch
from
Draft

Alertmanager test #204

wants to merge 43 commits into from

Conversation

TheoBrigitte
Copy link
Member

Just a playground to work

What this PR does / why we need it

Checklist

  • Update changelog in CHANGELOG.md.
  • Follow deployment test procedure in the tests/manual_e2e directory and have a working branch.

TheoBrigitte and others added 16 commits December 10, 2024 18:48
- Add secret resource, embedding raw and templated alertmanager files
- Expose alertmanager templates values as helm chart values
- Remove all Mimir related conditions
- Split template into url and notification templates
- Drop template directive, dynamically set by the operator
- Escape template in template
- Re-use slack actions
This fixes the infamous: error calling tpl: cannot retrieve Template.Basepath from values inside tpl function

It does use .Values in templates to access values and pass $ root context to tpl
Co-authored-by: Quentin Bisson <[email protected]>
@TheoBrigitte TheoBrigitte self-assigned this Dec 17, 2024
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.

2 participants