added repo

This commit is contained in:
Your Name
2026-08-26 03:39:42 +05:30
parent 45c25a95af
commit b8575bb8b9
6889 changed files with 1217125 additions and 0 deletions
@@ -0,0 +1,32 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ tpl .Values.configMapName . }}
namespace: {{ default (include "kyverno.namespace" .) .Values.namespace }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
labels:
{{- toYaml .Values.labels | nindent 4 }}
data:
{{ (.Files.Glob "dashboard/*").AsConfig | indent 2 }}
---
{{- if .Values.grafanaDashboard.create -}}
{{ range $path, $_ := .Files.Glob "dashboard/*" -}}
{{ $name := base $path }}
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: {{ tpl $.Values.configMapName $ }}-{{ $name }}
namespace: {{ default (include "kyverno.namespace" $ ) $.Values.namespace }}
spec:
allowCrossNamespaceImport: {{ $.Values.grafanaDashboard.allowCrossNamespaceImport }}
folder: {{ $.Values.grafanaDashboard.folder }}
instanceSelector:
matchLabels:
{{- toYaml $.Values.grafanaDashboard.matchLabels | nindent 6 }}
configMapRef:
name: {{ tpl $.Values.configMapName $ }}
key: {{ $name }}
---
{{ end -}}
{{- end -}}