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,62 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "config-test.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "config-test.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "config-test.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "config-test.labels" -}}
helm.sh/chart: {{ include "config-test.chart" . }}
{{ include "config-test.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "config-test.selectorLabels" -}}
app.kubernetes.io/name: {{ include "config-test.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "config-test.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "config-test.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vm-alerts-config-central
namespace: victoriametrics
data:
{{- (.Files.Glob "configmap/central/**.yaml").AsConfig | nindent 2 }}
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vm-alerts-config-dataengg
namespace: victoriametrics
data:
{{- (.Files.Glob "configmap/dataengg/**.yaml").AsConfig | nindent 2 }}
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vm-alerts-config-datascience
namespace: victoriametrics
data:
{{- (.Files.Glob "configmap/datascience/**.yaml").AsConfig | nindent 2 }}
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vm-alerts-config-demand
namespace: victoriametrics
data:
{{- (.Files.Glob "configmap/demand/**.yaml").AsConfig | nindent 2 }}
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vm-alerts-config-farmiso
namespace: victoriametrics
data:
{{- (.Files.Glob "configmap/farmiso/**.yaml").AsConfig | nindent 2 }}
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vm-alerts-config-generic
namespace: victoriametrics
data:
{{- (.Files.Glob "configmap/generic/**.yaml").AsConfig | nindent 2 }}
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vm-alerts-config-infra
namespace: victoriametrics
data:
{{- (.Files.Glob "configmap/infra/**.yaml").AsConfig | nindent 2 }}
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vm-alerts-config-supply
namespace: victoriametrics
data:
{{- (.Files.Glob "configmap/supply/**.yaml").AsConfig | nindent 2 }}