| # SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org> |
| # SPDX-License-Identifier: Apache-2.0 |
| name: {{ template "aether-enterprise-portal.fullname" . }}-secret |
| chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| release: "{{ .Release.Name }}" |
| heritage: "{{ .Release.Service }}" |
| {{ range $path, $bytes := .Files.Glob "files/certs/*.*" }} |
| {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}' |
| name: {{ template "aether-enterprise-portal.fullname" . }}-api |
| chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| release: "{{ .Release.Name }}" |
| heritage: "{{ .Release.Service }}" |
| credentials: {{ printf "%s:%s" .Values.prometheus.credentials.username .Values.prometheus.credentials.password | b64enc | b64enc | quote }} |