Skip to content

How to mount a secret for alertmanager pod ? #889

Answered by NargiT
NargiT asked this question in Q&A
Discussion options

You must be logged in to vote

As I am using plain alertmanager-config.yaml file I was able to manage this in a different way. The reason I did differently is because I do not want, right now, people maintaining this file to learn vanilla alert manager and prometheus-operator abstraction. But definitely something I will have a look once people are familiar with AM.

The 2nd reason I am doing this with secret it's because we are using a gitops approch and no secret must be commited to our github repository, and thanks to kubeseal I only need a reference to it, but you can simply create a secret manually for this example.

Create a file called pagerduty.integration.key.tmpl with the following content {{ define "pagerduty.i…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@NargiT
Comment options

@s-urbaniak
Comment options

Comment options

You must be logged in to vote
2 replies
@metalmatze
Comment options

@Labidi-github
Comment options

Answer selected by NargiT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants