feat(argo-rollouts): add service monitor relabeling configs (#1972)
Signed-off-by: Aniek Gul <13356402+aniekgul@users.noreply.github.com> Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
parent
aef554340f
commit
d2853afc24
4 changed files with 16 additions and 2 deletions
|
|
@ -17,6 +17,14 @@ metadata:
|
|||
spec:
|
||||
endpoints:
|
||||
- port: metrics
|
||||
{{- with .Values.controller.metrics.serviceMonitor.relabelings }}
|
||||
relabelings:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- with .Values.controller.metrics.serviceMonitor.metricRelabelings }}
|
||||
metricRelabelings:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- {{ .Release.Namespace }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue