Sean Condon | fbc563d | 2021-12-08 15:54:26 -0800 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org> |
| 2 | # |
Sean Condon | 160ec1d | 2022-02-08 12:58:25 +0000 | [diff] [blame] | 3 | # SPDX-License-Identifier: Apache-2.0 |
Sean Condon | fbc563d | 2021-12-08 15:54:26 -0800 | [diff] [blame] | 4 | |
| 5 | apiVersion: v1 |
| 6 | kind: ConfigMap |
| 7 | metadata: |
| 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 }}" |
| 14 | data: |
Sean Condon | cfdff5d | 2021-12-14 09:59:24 +0000 | [diff] [blame] | 15 | {{ (.Files.Glob "files/configs/*.yaml").AsConfig | indent 2 }} |
| 16 | |
PUSHP RAJ | cb8d3e5 | 2022-01-07 18:55:39 +0000 | [diff] [blame] | 17 | |
| 18 | |
| 19 | --- |
| 20 | apiVersion: v1 |
| 21 | kind: ConfigMap |
| 22 | metadata: |
| 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 }}" |
| 29 | binaryData: |
| 30 | {{ $root := . }} |
| 31 | {{ range $path, $bytes := .Files.Glob "files/images/*.png" }} |
| 32 | {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}' |
| 33 | {{ end }} |
| 34 | |
| 35 | --- |
| 36 | apiVersion: v1 |
| 37 | kind: ConfigMap |
| 38 | metadata: |
| 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 }}" |
| 45 | binaryData: |
| 46 | {{ $root := . }} |
Sean Condon | 8654449 | 2022-01-28 19:06:48 +0000 | [diff] [blame] | 47 | {{ range $path, $bytes := .Files.Glob "files/site-plans/fremont/*.svg" }} |
PUSHP RAJ | cb8d3e5 | 2022-01-07 18:55:39 +0000 | [diff] [blame] | 48 | {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}' |
| 49 | {{ end }} |
| 50 | |
PUSHP RAJ | 2b6a6e3 | 2022-02-01 18:06:01 +0000 | [diff] [blame] | 51 | --- |
| 52 | apiVersion: v1 |
| 53 | kind: ConfigMap |
| 54 | metadata: |
| 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 }}" |
| 61 | data: |
| 62 | {{ (.Files.Glob "files/alerts/*.yaml").AsConfig | indent 2 }} |