AETHER-2826 Adding sample demo-configurtion
Change-Id: I3247e7b2e41bdc7b1adfce886f3608f08df3470d
diff --git a/chronos-exporter/templates/configmap.yaml b/chronos-exporter/templates/configmap.yaml
new file mode 100644
index 0000000..5090a7e
--- /dev/null
+++ b/chronos-exporter/templates/configmap.yaml
@@ -0,0 +1,18 @@
+# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
+#
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ template "chronos-exporter.fullname" . }}-config
+ labels:
+ app: {{ template "chronos-exporter.fullname" . }}
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ release: "{{ .Release.Name }}"
+ heritage: "{{ .Release.Service }}"
+data:
+ {{ $root := . }}
+ {{ range $path, $bytes := .Files.Glob "files/configs/*.json" }}
+ {{ base $path }}: '{{ $root.Files.Get $path }}'
+ {{ end }}