Skip to content

Commit

Permalink
charts/vmalert: allow overriding alertmanager listen addr
Browse files Browse the repository at this point in the history
Allow overriding Alertmanager listen addr to support IPv6-only clusters. See: #856
  • Loading branch information
zekker6 committed Feb 23, 2024
1 parent 5208374 commit e712235
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/victoria-metrics-alert/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Next release

- TODO
- Allow overriding Alertmanager listen address and port via `alertmanager.listenAddress`.

## 0.9.0

Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-alert/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: victoria-metrics-alert
description: Victoria Metrics Alert - executes a list of given MetricsQL expressions (rules) and sends alerts to Alert Manager.
version: 0.9.0
version: 0.9.1
appVersion: v1.97.1
sources:
- https://github.com/VictoriaMetrics/helm-charts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- --storage.path=/data
{{- end}}
- --data.retention={{ .Values.alertmanager.retention }}
- --web.listen-address=0.0.0.0:9093
- --web.listen-address={{ .Values.alertmanager.listenAddress }}
- --cluster.advertise-address=$(POD_IP):6783
{{ if .Values.alertmanager.baseURL }}
- --web.external-url={{ .Values.alertmanager.baseURL }}
Expand Down
1 change: 1 addition & 0 deletions charts/victoria-metrics-alert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ alertmanager:
tolerations: []
imagePullSecrets: []
podSecurityContext: {}
listenAddress: "0.0.0.0:9093"
extraArgs: {}
# key: value

Expand Down

0 comments on commit e712235

Please sign in to comment.