File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
scripts/devtron-reference-helm-charts/statefulset-chart_5-1-0/templates Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 3838 {{- if .servicemonitor.scrapeTimeout }}
3939 scrapeTimeout : {{ .servicemonitor.scrapeTimeout}}
4040 {{- end }}
41+ {{- if .servicemonitor.basicAuth }}
42+ basicAuth :
43+ {{- toYaml .servicemonitor.basicAuth | nindent 8 }}
44+ {{- end }}
4145 {{- if .servicemonitor.metricRelabelings}}
4246 metricRelabelings :
4347{{toYaml .servicemonitor.metricRelabelings | indent 8 }}
4650 {{- end }}
4751 {{- end }}
4852 {{- end }}
53+ {{- if .Values.servicemonitor.namespaceSelector }}
54+ namespaceSelector :
55+ matchNames :
56+ {{- toYaml .Values.servicemonitor.namespaceSelector | nindent 6 }}
57+ {{- end }}
4958 selector :
5059 matchLabels :
60+ {{- if .Values.servicemonitor.matchLabels }}
61+ {{- toYaml .Values.servicemonitor.matchLabels | nindent 6 }}
62+ {{- else }}
5163 app : {{ template ".Chart.Name .name" $ }}
64+ {{- end }}
5265{{- end }}
You can’t perform that action at this time.
0 commit comments