feat(argo-cd): Extract ServiceMonitor interval to values (#739)

* Extract interval and path to values

Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com>

* Bump chart

Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com>

* Remove path from values

Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com>
This commit is contained in:
Sergey Shaykhullin 2021-05-21 15:43:10 +03:00 committed by GitHub
parent 82b655dadc
commit b971b36317
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 5 deletions

View file

@ -17,7 +17,9 @@ metadata:
spec:
endpoints:
- port: metrics
interval: 30s
{{- with .Values.controller.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
path: /metrics
namespaceSelector:
matchNames: