blob: 0e61df098469d831d653637be3a49ab5fbe8c76f [file] [log] [blame]
Amit Wankhede3d0bc582021-10-18 22:28:50 +05301# SPDX-FileCopyrightText: 2020-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 "prom-label-proxy.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