Skip to content

Commit

Permalink
[prometheus] Use Alertmanager API port only for kubernetes_sd. (prome…
Browse files Browse the repository at this point in the history
…theus-community#353)

* Use Alertmanager API port only for k8s_sd.

Signed-off-by: Anas <anas-aso@users.noreply.github.com>

* Bump chart version

Signed-off-by: Anas <anas-aso@users.noreply.github.com>
  • Loading branch information
anas-aso authored Nov 14, 2020
1 parent 507c5c4 commit 4346bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus
version: 11.16.8
version: 11.16.9
appVersion: 2.21.0
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
Expand Down
4 changes: 2 additions & 2 deletions charts/prometheus/templates/server/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ data:
regex: {{ index $root.Values.alertmanager.podAnnotations "prometheus.io/probe" | default ".*" }}
action: keep
- source_labels: [__meta_kubernetes_pod_container_port_number]
regex:
action: drop
regex: "9093"
action: keep
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit 4346bfa

Please sign in to comment.