blob: 5090a7e8e5d0fe42b543e63e886a47c62c45a0d6 [file] [log] [blame]
# 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 }}