Sean Condon | 670605a | 2021-12-13 12:58:20 +0000 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org> |
| 2 | # |
Sean Condon | 160ec1d | 2022-02-08 12:58:25 +0000 | [diff] [blame] | 3 | # SPDX-License-Identifier: Apache-2.0 |
Sean Condon | 670605a | 2021-12-13 12:58:20 +0000 | [diff] [blame] | 4 | |
| 5 | apiVersion: v1 |
| 6 | kind: Secret |
| 7 | metadata: |
| 8 | name: {{ template "aether-enterprise-portal.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 |
Sean Condon | 36c8225 | 2022-03-16 09:49:40 +0000 | [diff] [blame] | 19 | --- |
| 20 | apiVersion: v1 |
| 21 | kind: Secret |
| 22 | metadata: |
| 23 | name: {{ template "aether-enterprise-portal.fullname" . }}-api |
| 24 | labels: |
| 25 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| 26 | release: "{{ .Release.Name }}" |
| 27 | heritage: "{{ .Release.Service }}" |
| 28 | data: |
| 29 | credentials: {{ printf "%s:%s" .Values.prometheus.credentials.username .Values.prometheus.credentials.password | b64enc | b64enc | quote }} |
| 30 | type: Opaque |