blob: 5090a7e8e5d0fe42b543e63e886a47c62c45a0d6 [file] [log] [blame]
Sean Condonfbc563d2021-12-08 15:54:26 -08001# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
2#
3# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4
5apiVersion: v1
6kind: ConfigMap
7metadata:
8 name: {{ template "chronos-exporter.fullname" . }}-config
9 labels:
10 app: {{ template "chronos-exporter.fullname" . }}
11 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
12 release: "{{ .Release.Name }}"
13 heritage: "{{ .Release.Service }}"
14data:
15 {{ $root := . }}
16 {{ range $path, $bytes := .Files.Glob "files/configs/*.json" }}
17 {{ base $path }}: '{{ $root.Files.Get $path }}'
18 {{ end }}