feat(argo-cd): ServiceMonitor resources can be annotated (#1564)
* [Added]: ServiceMonitor resources are able to be annotated Signed-off-by: João Estrela <jestrela@barracuda.com> Signed-off-by: Petr Drastil <petr.drastil@gmail.com> Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
aff5b9e5a9
commit
12a1ccea75
10 changed files with 51 additions and 2 deletions
|
|
@ -14,6 +14,10 @@ metadata:
|
|||
{{- with .Values.controller.metrics.serviceMonitor.additionalLabels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.controller.metrics.serviceMonitor.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: {{ .Values.controller.metrics.service.portName }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue