Scott Baker | e3090f0 | 2022-05-31 15:51:41 -0700 | [diff] [blame] | 1 | # 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 | |
| 6 | apiVersion: v1 |
| 7 | kind: Secret |
| 8 | metadata: |
| 9 | name: {{ template "fabric-adapter.fullname" . }}-secret |
| 10 | labels: |
| 11 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| 12 | release: "{{ .Release.Name }}" |
| 13 | heritage: "{{ .Release.Service }}" |
| 14 | data: |
| 15 | {{ $root := . }} |
| 16 | {{ range $path, $bytes := .Files.Glob "files/certs/tls.*" }} |
| 17 | {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}' |
| 18 | {{ end }} |
| 19 | type: Opaque |