Fix arrays

This commit is contained in:
dvirlabs 2025-10-10 16:11:35 +03:00
parent ec66125cde
commit 3f1c3634b2

View File

@ -60,3 +60,40 @@ grafana:
api_url: https://keycloak.dvirlabs.com/realms/lab/protocol/openid-connect/userinfo
role_attribute_path: contains(groups[*], 'grafana-admins') && 'Admin' || 'Viewer'
allow_assign_grafana_admin: true
# === פאטצ' כדי למנוע null ב-ServiceMonitor ===
# אם ה-templates שלך בונים endpoints מה-values, זה יבטיח שתמיד יהיה מערך ריק.
serviceMonitors:
operator:
endpoints:
- port: metrics
metricRelabelings: []
prometheus:
endpoints:
- port: web
metricRelabelings: []
prometheusNodeExporter:
endpoints:
- port: metrics
metricRelabelings: []
alertmanager:
endpoints:
- port: web
metricRelabelings: []
grafana:
endpoints:
- port: service
path: /metrics
metricRelabelings: []
coredns:
endpoints:
- port: metrics
metricRelabelings: []
fleetController:
endpoints:
- port: metrics
metricRelabelings: []
gitopsController:
endpoints:
- port: metrics
metricRelabelings: []