File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ metadata:
8
8
name : {{ include "argo-api-gateway.fullname" . }}
9
9
labels :
10
10
{{- include "argo-api-gateway.labels" . | nindent 4 }}
11
+ {{- with $context.Values.serviceMonitor.labels }}
12
+ {{- toYaml . | nindent 4 }}
13
+ {{- end }}
11
14
spec :
12
15
selector :
13
16
matchLabels :
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ metadata:
10
10
name : {{ include "resources-reporter.fullname" . }}
11
11
labels :
12
12
{{- include "resources-reporter.labels" . | nindent 4 }}
13
+ {{- with $context.Values.serviceMonitor.labels }}
14
+ {{- toYaml . | nindent 4 }}
15
+ {{- end }}
13
16
spec :
14
17
selector :
15
18
matchLabels :
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ metadata:
10
10
name : {{ include "runtime-reporter.fullname" . }}
11
11
labels :
12
12
{{- include "runtime-reporter.labels" . | nindent 4 }}
13
+ {{- with $context.Values.serviceMonitor.labels }}
14
+ {{- toYaml . | nindent 4 }}
15
+ {{- end }}
13
16
spec :
14
17
selector :
15
18
matchLabels :
Original file line number Diff line number Diff line change @@ -240,6 +240,8 @@ global:
240
240
enabled : false
241
241
interval : 30s
242
242
scrapeTimeout : 10s
243
+ labels :
244
+ foo : bar
243
245
config : {}
244
246
245
247
# -------------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments