Skip to content

Commit

Permalink
Use EnableAlerting to launch that container
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfornax committed Apr 16, 2024
1 parent 4414671 commit 78deadf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions shared/services/rocketpool/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,12 @@ func (c *Client) deployTemplates(cfg *config.RocketPoolConfig, rocketpoolDir str
config.GrafanaContainerName,
config.ExporterContainerName,
config.PrometheusContainerName,
)
}

// Check if Alerts are enabled
if cfg.Alertmanager.EnableAlerting.Value == true {
toDeploy = append(toDeploy,
config.AlertmanagerContainerName,
)
}
Expand Down

0 comments on commit 78deadf

Please sign in to comment.