| 403 | } |
| 404 | |
| 405 | func NewAlertmanagerWithTLS(name string, flags map[string]string, image string) *CortexService { |
| 406 | if image == "" { |
| 407 | image = GetDefaultImage() |
| 408 | } |
| 409 | |
| 410 | return NewCortexService( |
| 411 | name, |
| 412 | image, |
| 413 | e2e.NewCommandWithoutEntrypoint("cortex", e2e.BuildArgs(e2e.MergeFlags(map[string]string{ |
| 414 | "-target": "alertmanager", |
| 415 | "-log.level": "warn", |
| 416 | "-alertmanager.enable-api": "true", |
| 417 | }, flags))...), |
| 418 | e2e.NewTCPReadinessProbe(httpPort), |
| 419 | httpPort, |
| 420 | grpcPort, |
| 421 | GossipPort, |
| 422 | ) |
| 423 | } |
| 424 | |
| 425 | func NewRuler(name string, consulAddress string, flags map[string]string, image string) *CortexService { |
| 426 | if image == "" { |