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

[SA-5226] Adds the receiver name in Route #31

Merged
merged 1 commit into from
Dec 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Decode and modify alertmanager secret configuration
ansible.builtin.set_fact:
modified_alertmanager_secret_content: >

Check failure on line 3 in roles/grafana_cloud_operator/tasks/modify_alertmanager_secret.yml

View workflow job for this annotation

GitHub Actions / Operator Pull Request

jinja[invalid]

template error while templating string: expected token ',', got 'string'. String: {{ (fetched_alertmanager_secret.resources[0].data['alertmanager.yaml'] | b64decode | from_yaml) | combine({
{{ (fetched_alertmanager_secret.resources[0].data['alertmanager.yaml'] | b64decode | from_yaml) | combine({
'receivers': [
{
Expand All @@ -11,6 +11,7 @@
}
],
'route': {
'receiver': receiver_name
'routes': [
{
'receiver': receiver_name,
Expand Down
Loading