initial commit
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 58s

Change-Id: I5e6e8835e79107e18d76dcc41517306a265a6d23
This commit is contained in:
Scaffolder
2026-07-27 06:38:01 +00:00
commit 00a13f1f2b
209 changed files with 105807 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
{{- if .Values.grafana.enabled -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-alerting
namespace: {{ .Release.Namespace }}
labels:
{{- include "otel-demo.labels" . | nindent 4 }}
grafana_alert: "1"
data:
{{ (.Files.Glob "grafana/provisioning/alerting/*.yaml").AsConfig | nindent 2 }}
{{- range $path, $_ := .Files.Glob "grafana/provisioning/dashboards/*.json" }}
{{- $name := base $path | trimSuffix ".json" }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-dashboard-{{ $name | lower }}
namespace: {{ $.Release.Namespace }}
labels:
{{- include "otel-demo.labels" $ | nindent 4 }}
grafana_dashboard: "1"
data:
{{ $name }}.json: |-
{{ $.Files.Get $path | indent 4 }}
{{- end }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-datasources
namespace: {{ .Release.Namespace }}
labels:
{{- include "otel-demo.labels" . | nindent 4 }}
grafana_datasource: "1"
data:
{{ (.Files.Glob "grafana/provisioning/datasources/*.yaml").AsConfig | nindent 2 }}
{{- end }}