blob: 53bdb4e6db0a13bffff09a56a1e3d05a57e6b559 [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 := . }}
Sean Condon86544492022-01-28 19:06:48 +000047 {{ range $path, $bytes := .Files.Glob "files/site-plans/fremont/*.svg" }}
PUSHP RAJcb8d3e52022-01-07 18:55:39 +000048 {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}'
49 {{ end }}
50
PUSHP RAJ2b6a6e32022-02-01 18:06:01 +000051---
52apiVersion: v1
53kind: ConfigMap
54metadata:
55 name: {{ template "chronos-exporter.fullname" . }}-alert
56 labels:
57 app: {{ template "chronos-exporter.fullname" . }}
58 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
59 release: "{{ .Release.Name }}"
60 heritage: "{{ .Release.Service }}"
61data:
62{{ (.Files.Glob "files/alerts/*.yaml").AsConfig | indent 2 }}