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

Support webhook_url_file for discord config #3482

Open
josedev-union opened this issue Aug 23, 2023 · 3 comments
Open

Support webhook_url_file for discord config #3482

josedev-union opened this issue Aug 23, 2023 · 3 comments

Comments

@josedev-union
Copy link

What did you do?
I use a main Discord for receiver.
What did you expect to see?
I want to use pre-existing K8s secret to configure Discord receiver's webhook url instead of setting that as helm value. Like slack_api_url_file, mount the existing k8s secret into alertmanager and use that file as webhook_url.

tamcore added a commit to gitgrave/alertmanager that referenced this issue Oct 11, 2023
implements prometheus#3482

Signed-off-by: Philipp Born <git@pborn.eu>
tamcore added a commit to gitgrave/alertmanager that referenced this issue Oct 11, 2023
implements prometheus#3482

Signed-off-by: Philipp Born <git@pborn.eu>
gotjosh pushed a commit that referenced this issue Feb 7, 2024
* feat: implement webhook_url_file for discord

implements #3482

Signed-off-by: Philipp Born <git@pborn.eu>

* feat: implement webhook_url_file for msteams

implements #3536

Signed-off-by: Philipp Born <git@pborn.eu>

---------

Signed-off-by: Philipp Born <git@pborn.eu>
th0th pushed a commit to th0th/alertmanager that referenced this issue Mar 23, 2024
…3555)

* feat: implement webhook_url_file for discord

implements prometheus#3482

Signed-off-by: Philipp Born <git@pborn.eu>

* feat: implement webhook_url_file for msteams

implements prometheus#3536

Signed-off-by: Philipp Born <git@pborn.eu>

---------

Signed-off-by: Philipp Born <git@pborn.eu>
Signed-off-by: Gokhan Sari <gokhan@sari.me>
@Roronoa-Zoroo
Copy link

the documentation mentions the use of webhook_url_file for discord_config
i was pulling my hair as to why it was not working

@arichtman
Copy link

The configuration documentation does mention this option, but when I try to provide just webhook_url_file it complains that no webhook_url is provided, and if I provide both, it exclaims that only one is permissible.

@tuana9a
Copy link

tuana9a commented Sep 27, 2024

@arichtman same here, just found out that this has been fixed in #3728 but it hasn't been released yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants