Enable the extension

This commit is contained in:
Nikolai Rodionov
2023-03-13 14:08:01 +01:00
parent 03897ae904
commit b8856368e7
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,16 @@
---
service-monitor:
templates:
- |
{{ range .Values.service-monitor.resources }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ .name }}
spec:
selector:
matchLabels:
exporter: {{ .label.exporter }}
endpoints:
- port: {{ .endpoints.port }}
{{ end }}