Initial commit

This commit is contained in:
2025-12-09 19:34:54 +11:00
commit a4d98eea50
894 changed files with 131646 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{{- if and ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) .Values.lvmNode.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "lvmlocalpv.fullname" . }}-node-servicemonitor
namespace: {{- .Release.Namespace }}
labels:
#release: prometheus # Adjust to match your Prometheus Operator's release name
{{- .Values.lvmNode.serviceMonitor.labels | toYaml | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "lvmlocalpv.lvmNode.labels" . | nindent 6 }}
namespaceSelector:
matchNames:
- {{- .Release.Namespace }}
endpoints:
- port: metrics
path: /metrics
interval: 30s
scrapeTimeout: 10s
{{- end }}