Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame^] | 1 | # SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org> |
| 2 | # |
| 3 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 4 | |
| 5 | apiVersion: v1 |
| 6 | kind: Secret |
| 7 | metadata: |
| 8 | name: {{ template "aether-roc-gui.fullname" . }}-secret |
| 9 | labels: |
| 10 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| 11 | release: "{{ .Release.Name }}" |
| 12 | heritage: "{{ .Release.Service }}" |
| 13 | data: |
| 14 | {{ $root := . }} |
| 15 | {{ range $path, $bytes := .Files.Glob "files/certs/*.*" }} |
| 16 | {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}' |
| 17 | {{ end }} |
| 18 | type: Opaque |