Commit e6aa99c 1 parent db363c4 commit e6aa99c Copy full SHA for e6aa99c
File tree 6 files changed +20
-5
lines changed
6 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ apiVersion: monitoring.coreos.com/v1
3
3
kind : PodMonitor
4
4
metadata :
5
5
name : {{ .Values.operator.name }}
6
+ {{- with .Values.prometheus.operator.podMonitor.annotations }}
6
7
annotations :
7
- {{- toYaml .Values.additionalAnnotations | nindent 4 }}
8
+ {{- toYaml . | nindent 4 }}
9
+ {{- end }}
8
10
labels :
9
11
app.kubernetes.io/name : {{ .Values.operator.name }}
10
12
{{- include "keda.labels" . | indent 4 }}
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ apiVersion: monitoring.coreos.com/v1
3
3
kind : ServiceMonitor
4
4
metadata :
5
5
name : {{ .Values.operator.name }}
6
+ {{- with .Values.prometheus.operator.serviceMonitor.annotations }}
6
7
annotations :
7
- {{- toYaml .Values.prometheus.operator.serviceMonitor.additionalAnnotations | nindent 4 }}
8
+ {{- toYaml . | nindent 4 }}
9
+ {{- end }}
8
10
labels :
9
11
app.kubernetes.io/name : {{ .Values.operator.name }}
10
12
{{- include "keda.labels" . | indent 4 }}
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ apiVersion: monitoring.coreos.com/v1
3
3
kind : PodMonitor
4
4
metadata :
5
5
name : {{ .Values.operator.name }}-metrics-apiserver
6
+ {{- with .Values.prometheus.metricServer.podMonitor.annotations }}
6
7
annotations :
7
- {{- toYaml .Values.additionalAnnotations | nindent 4 }}
8
+ {{- toYaml . | nindent 4 }}
9
+ {{- end }}
8
10
labels :
9
11
app.kubernetes.io/name : {{ .Values.operator.name }}
10
12
{{- include "keda.labels" . | indent 4 }}
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ apiVersion: monitoring.coreos.com/v1
3
3
kind : ServiceMonitor
4
4
metadata :
5
5
name : {{ .Values.operator.name }}-metrics-apiserver
6
+ {{- with .Values.prometheus.metricServer.serviceMonitor.annotations }}
6
7
annotations :
7
- {{- toYaml .Values.prometheus.metricServer.serviceMonitor.additionalAnnotations | nindent 4 }}
8
+ {{- toYaml . | nindent 4 }}
9
+ {{- end }}
8
10
labels :
9
11
app.kubernetes.io/name : {{ .Values.operator.name }}
10
12
{{- include "keda.labels" . | indent 4 }}
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ apiVersion: monitoring.coreos.com/v1
4
4
kind : ServiceMonitor
5
5
metadata :
6
6
name : {{ .Values.webhooks.name }}
7
+ {{- with .Values.prometheus.webhooks.serviceMonitor.annotations }}
7
8
annotations :
8
- {{- toYaml .Values.prometheus.webhooks.serviceMonitor.additionalAnnotations | nindent 4 }}
9
+ {{- toYaml . | nindent 4 }}
10
+ {{- end }}
9
11
labels :
10
12
app.kubernetes.io/name : {{ .Values.webhooks.name }}
11
13
{{- include "keda.labels" . | indent 4 }}
Original file line number Diff line number Diff line change @@ -369,6 +369,7 @@ prometheus:
369
369
serviceMonitor :
370
370
# Enables ServiceMonitor creation for the Prometheus Operator
371
371
enabled : false
372
+ annotations : {}
372
373
jobLabel :
373
374
targetLabels : []
374
375
podTargetLabels : []
@@ -381,6 +382,7 @@ prometheus:
381
382
podMonitor :
382
383
# Enables PodMonitor creation for the Prometheus Operator
383
384
enabled : false
385
+ annotations : {}
384
386
interval :
385
387
scrapeTimeout :
386
388
namespace :
@@ -392,6 +394,7 @@ prometheus:
392
394
serviceMonitor :
393
395
# Enables ServiceMonitor creation for the Prometheus Operator
394
396
enabled : false
397
+ annotations : {}
395
398
jobLabel :
396
399
targetLabels : []
397
400
podTargetLabels : []
@@ -404,6 +407,7 @@ prometheus:
404
407
podMonitor :
405
408
# Enables PodMonitor creation for the Prometheus Operator
406
409
enabled : false
410
+ annotations : {}
407
411
interval :
408
412
scrapeTimeout :
409
413
namespace :
@@ -429,6 +433,7 @@ prometheus:
429
433
serviceMonitor :
430
434
# Enables ServiceMonitor creation for the Prometheus webhooks
431
435
enabled : false
436
+ annotations : {}
432
437
jobLabel :
433
438
targetLabels : []
434
439
podTargetLabels : []
You can’t perform that action at this time.
0 commit comments