Skip to content

pkg/alertmanager: added hostAliases to pod spec (fixes #3488)#3944

Closed
suvl wants to merge 2 commits intoprometheus-operator:mainfrom
suvl:feat-alertmanager-hostaliases
Closed

pkg/alertmanager: added hostAliases to pod spec (fixes #3488)#3944
suvl wants to merge 2 commits intoprometheus-operator:mainfrom
suvl:feat-alertmanager-hostaliases

Conversation

@suvl
Copy link

@suvl suvl commented Mar 30, 2021

Fixes #3488.

  • release-note:feature
Adds the ability to configure the `hostAlias` array in the `alertManagerSpec` object that 
in turn will set the same field in the `PodSpec` of the running AlertManager pods.

@suvl suvl requested a review from a team as a code owner March 30, 2021 18:31
@coderanger
Copy link
Contributor

I think a more sustainable solution to this is some kind of deep-merge approach using PodSpec like the container field is now. Otherwise this will just result in duplicating the majority of PodSpec eventually.

@suvl
Copy link
Author

suvl commented Mar 31, 2021

@coderanger well that's a much bigger change than these few lines. I can work on it (hoping we have enough tests to cover such a change and make this swift) but in such case this PR should be closed. On the other hand, this PR is much more surgical in the changes it makes. Let me know what the team thinks to be the way forward.

@Grounz
Copy link

Grounz commented Apr 26, 2022

Hello, we need this feature so what's the status ?

@suvl
Copy link
Author

suvl commented Jun 2, 2022

#4787 beated me to it. closing.

@suvl suvl closed this Jun 2, 2022
@simonpasquier
Copy link
Contributor

@suvl thanks for the effort!

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.

Add an option to add hostAlias for alert manager

4 participants