blob: a37931caded43b86ef7e1c346ee7a3c91bd358b1 [file] [log] [blame]
PUSHP RAJ7c521fa2021-12-06 14:19:03 +00001# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
2#
Sean Condon160ec1d2022-02-08 12:58:25 +00003# SPDX-License-Identifier: Apache-2.0
PUSHP RAJ7c521fa2021-12-06 14:19:03 +00004
5apiVersion: v1
6kind: Secret
7metadata:
8 name: {{ template "chronos-exporter.fullname" . }}-secret
9 labels:
10 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
11 release: "{{ .Release.Name }}"
12 heritage: "{{ .Release.Service }}"
13data:
14 {{ $root := . }}
15 {{ range $path, $bytes := .Files.Glob "files/certs/tls.*" }}
16 {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}'
17 {{ end }}
18type: Opaque