Skip to content

Commit

Permalink
Update statefulset.yaml
Browse files Browse the repository at this point in the history
removing confusing square brackets

Signed-off-by: Wojciech Fraczak <fraczak@gmail.com>
  • Loading branch information
fraczak committed Sep 17, 2024
1 parent 6a6225d commit 92c37a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/alertmanager/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ spec:
- --config.file=/etc/alertmanager/alertmanager.yml
{{- end }}
{{- if or (gt (int .Values.replicaCount) 1) (.Values.additionalPeers) }}
- --cluster.advertise-address=[$(POD_IP)]:{{ $svcClusterPort }}
- --cluster.advertise-address=$(POD_IP):{{ $svcClusterPort }}
- --cluster.listen-address=0.0.0.0:{{ $svcClusterPort }}
{{- end }}
{{- if gt (int .Values.replicaCount) 1}}
Expand Down

0 comments on commit 92c37a2

Please sign in to comment.