blob: bdf31cd91421e17bda4fcd82984b0fd8cc971d78 [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:
Sean Condoncfdff5d2021-12-14 09:59:24 +000015{{ (.Files.Glob "files/configs/*.yaml").AsConfig | indent 2 }}
16
PUSHP RAJcb8d3e52022-01-07 18:55:39 +000017
18
19---
20apiVersion: v1
21kind: ConfigMap
22metadata:
23 name: {{ template "chronos-exporter.fullname" . }}-images
24 labels:
25 app: {{ template "chronos-exporter.fullname" . }}
26 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
27 release: "{{ .Release.Name }}"
28 heritage: "{{ .Release.Service }}"
29binaryData:
30 {{ $root := . }}
31 {{ range $path, $bytes := .Files.Glob "files/images/*.png" }}
32 {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}'
33 {{ end }}
34
35---
36apiVersion: v1
37kind: ConfigMap
38metadata:
39 name: {{ template "chronos-exporter.fullname" . }}-site-plans
40 labels:
41 app: {{ template "chronos-exporter.fullname" . }}
42 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
43 release: "{{ .Release.Name }}"
44 heritage: "{{ .Release.Service }}"
45binaryData:
46 {{ $root := . }}
47 {{ range $path, $bytes := .Files.Glob "files/site-plans/freemont/*.svg" }}
48 {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}'
49 {{ end }}
50