Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Coleen Iona Quadros <[email protected]>
  • Loading branch information
coleenquadros committed Dec 9, 2024
1 parent fc8e762 commit e4a7170
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func (r *MCORenderer) renderAlertManagerStatefulSet(res *resource.Resource,
args := spec.Containers[0].Args

if *dep.Spec.Replicas > 1 {
args = append(args, "--cluster.listen-address=[$(POD_IP)]:9094")
for i := int32(0); i < *dep.Spec.Replicas; i++ {
args = append(args, "--cluster.listen-address=[$(POD_IP)]:9094")
args = append(args, "--cluster.peer="+
mcoconfig.GetOperandName(mcoconfig.Alertmanager)+"-"+
strconv.Itoa(int(i))+".alertmanager-operated."+
Expand Down

0 comments on commit e4a7170

Please sign in to comment.