Files
devops-infra-helm-charts-gcp/helm-templates/victoria-metrics-agent-latest/templates/meesho-scrape-configmap.yaml
T
2026-08-26 03:39:42 +05:30

12 lines
383 B
YAML

{{- $ctx := dict "helm" . }}
{{- $ns := include "vm.namespace" $ctx }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "vmagent.scrape.config.name" $ctx }}
namespace: {{ $ns }}
labels: {{ include "vm.labels" $ctx | nindent 4 }}
data:
scrape.yml: |
{{ .Files.Get (printf "%s/%s" .Values.custom.configFileFolderPath .Values.custom.scrapeConfigFileName) | indent 4 }}