blob: 11ed1c1c46808bdbb2a89418deab89f264dcdbad [file] [log] [blame]
Scott Bakere3090f02022-05-31 15:51:41 -07001# SPDX-FileCopyrightText: 2022-present Intel Corporation
2# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
3#
4# SPDX-License-Identifier: Apache-2.0
5
6apiVersion: v1
7kind: Secret
8metadata:
9 name: {{ template "fabric-adapter.fullname" . }}-secret
10 labels:
11 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
12 release: "{{ .Release.Name }}"
13 heritage: "{{ .Release.Service }}"
14data:
15 {{ $root := . }}
16 {{ range $path, $bytes := .Files.Glob "files/certs/tls.*" }}
17 {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}'
18 {{ end }}
19type: Opaque