-
Notifications
You must be signed in to change notification settings - Fork 820
feat: add TLS support for communication from the Ruler-->AM #3752
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
Changes from all commits
051a641
c5d8c8e
a1a5dea
60e59b1
70dc087
1d07701
5aed44c
ad960a7
3be161d
e199ef5
1bd6052
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -350,6 +350,26 @@ func NewAlertmanager(name string, flags map[string]string, image string) *Cortex | |
) | ||
} | ||
|
||
func NewAlertmanagerWithTLS(name string, flags map[string]string, image string) *CortexService { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To my understanding the only difference between this and There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The only reason I didn't do this was because it required a change to the function parameters in the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure. I haven't checked the complexity and it's not a big deal. |
||
if image == "" { | ||
image = GetDefaultImage() | ||
} | ||
|
||
return NewCortexService( | ||
name, | ||
image, | ||
e2e.NewCommandWithoutEntrypoint("cortex", e2e.BuildArgs(e2e.MergeFlags(map[string]string{ | ||
"-target": "alertmanager", | ||
"-log.level": "warn", | ||
"-experimental.alertmanager.enable-api": "true", | ||
}, flags))...), | ||
e2e.NewTCPReadinessProbe(httpPort), | ||
httpPort, | ||
grpcPort, | ||
GossipPort, | ||
) | ||
} | ||
|
||
func NewRuler(name string, flags map[string]string, image string) *CortexService { | ||
if image == "" { | ||
image = GetDefaultImage() | ||
|
Uh oh!
There was an error while loading. Please reload this page.