Skip to content

Commit 0749823

Browse files
pdemagnywgiddens
authored andcommitted
[stable/prometheus] harmonization of regex reference without braces (helm#10055)
Signed-off-by: Pierre DEMAGNY <[email protected]>
1 parent bbc039c commit 0749823

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stable/prometheus/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: prometheus
2-
version: 8.1.1
2+
version: 8.1.2
33
appVersion: 2.5.0
44
description: Prometheus is a monitoring system and time series database.
55
home: https://prometheus.io/

stable/prometheus/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ serverFiles:
970970
- source_labels: [__meta_kubernetes_node_name]
971971
regex: (.+)
972972
target_label: __metrics_path__
973-
replacement: /api/v1/nodes/${1}/proxy/metrics
973+
replacement: /api/v1/nodes/$1/proxy/metrics
974974

975975

976976
- job_name: 'kubernetes-nodes-cadvisor'
@@ -1002,7 +1002,7 @@ serverFiles:
10021002
# This configuration will work only on kubelet 1.7.3+
10031003
# As the scrape endpoints for cAdvisor have changed
10041004
# if you are using older version you need to change the replacement to
1005-
# replacement: /api/v1/nodes/${1}:4194/proxy/metrics
1005+
# replacement: /api/v1/nodes/$1:4194/proxy/metrics
10061006
# more info here https://github.com/coreos/prometheus-operator/issues/633
10071007
relabel_configs:
10081008
- action: labelmap
@@ -1012,7 +1012,7 @@ serverFiles:
10121012
- source_labels: [__meta_kubernetes_node_name]
10131013
regex: (.+)
10141014
target_label: __metrics_path__
1015-
replacement: /api/v1/nodes/${1}/proxy/metrics/cadvisor
1015+
replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
10161016

10171017
# Scrape config for service endpoints.
10181018
#

0 commit comments

Comments
 (0)