blob: 6365a60bb824b6cc0591f7446dfbdefbea75c88a [file] [log] [blame]
Sean Condon25c7bf52021-11-06 11:53:59 +00001# 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: Secret
7metadata:
8 name: {{ template "demo-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