File tree Expand file tree Collapse file tree 4 files changed +9
-13
lines changed Expand file tree Collapse file tree 4 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,6 @@ Parameter | Description | Default
213213` metrics.serviceMonitor.annotations ` | Used to pass annotations that are used by the Prometheus installed in your cluster| ` {} `
214214` metrics.serviceMonitor.metricRelabelings ` | Metric relabel configs to apply to samples before ingestion.| ` [] `
215215` metrics.serviceMonitor.relabelings ` | Relabel configs to apply to samples before ingestion.| ` [] `
216- ` metrics.serviceMonitor.targetLabels ` | Attach labels to the ServiceMonitor resource based on Service metadata.| ` [] `
217216` extraObjects ` | Extra K8s manifests to deploy | ` [] `
218217
219218Specify each parameter using the ` --set key=value[,key=value] ` argument to ` helm install ` . For example,
Original file line number Diff line number Diff line change 11metrics :
22 enabled : true
3- servicemonitor :
3+ serviceMonitor :
44 enabled : true
55 annotations :
66 key : value
Original file line number Diff line number Diff line change 22apiVersion : monitoring.coreos.com/v1
33kind : ServiceMonitor
44metadata :
5- {{- with .Values.metrics.servicemonitor .annotations }}
5+ {{- with .Values.metrics.serviceMonitor .annotations }}
66 annotations :
77 {{- toYaml . | nindent 4 }}
88 {{- end }}
@@ -30,27 +30,27 @@ spec:
3030 endpoints :
3131 - port : metrics
3232 path : " /metrics"
33- {{- with .Values.metrics.servicemonitor .interval }}
33+ {{- with .Values.metrics.serviceMonitor .interval }}
3434 interval : {{ . }}
3535 {{- end }}
36- {{- with .Values.metrics.servicemonitor .scrapeTimeout }}
36+ {{- with .Values.metrics.serviceMonitor .scrapeTimeout }}
3737 scrapeTimeout : {{ . }}
3838 {{- end }}
39- {{- with .Values.metrics.servicemonitor .scheme }}
39+ {{- with .Values.metrics.serviceMonitor .scheme }}
4040 scheme : {{ . }}
4141 {{- end }}
42- {{- with .Values.metrics.servicemonitor .bearerTokenFile }}
42+ {{- with .Values.metrics.serviceMonitor .bearerTokenFile }}
4343 bearerTokenFile : {{ . }}
4444 {{- end }}
45- {{- with .Values.metrics.servicemonitor .tlsConfig }}
45+ {{- with .Values.metrics.serviceMonitor .tlsConfig }}
4646 tlsConfig :
4747 {{- toYaml .| nindent 4 }}
4848 {{- end }}
49- {{- with .Values.metrics.servicemonitor .metricRelabelings }}
49+ {{- with .Values.metrics.serviceMonitor .metricRelabelings }}
5050 metricRelabelings :
5151 {{- toYaml . | nindent 4 }}
5252 {{- end }}
53- {{- with .Values.metrics.servicemonitor .relabelings }}
53+ {{- with .Values.metrics.serviceMonitor .relabelings }}
5454 relabelings :
5555 {{- toYaml . | nindent 4 }}
5656 {{- end }}
Original file line number Diff line number Diff line change @@ -404,9 +404,6 @@ metrics:
404404 # replacement: $1
405405 # action: replace
406406
407- # # Attach labels to the ServiceMonitor resource based on Service metadata.
408- targetLabels : []
409-
410407# Extra K8s manifests to deploy
411408extraObjects : []
412409 # - apiVersion: secrets-store.csi.x-k8s.io/v1
You can’t perform that action at this time.
0 commit comments