blob: 73cc3fea1c1ada61230427f4f461da9048ce7123 [file] [log] [blame]
Scott Bakerc9d3d842021-09-17 11:32:53 -07001# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
2#
3# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4
5apiVersion: v1
6kind: Secret
7metadata:
8 name: {{ template "subscriber-proxy.fullname" . }}-secret
9 labels:
10 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
11 release: "{{ .Release.Name }}"
12 heritage: "{{ .Release.Service }}"
13data:
14 {{ $root := . }}
15 {{ range $path, $bytes := .Files.Glob "files/certs/tls.*" }}
16 {{ base $path }}: '{{ $root.Files.Get $path | b64enc }}'
17 {{ end }}
18type: Opaque
Amit Wankhede38437412021-11-22 11:11:07 -060019---
20apiVersion: v1
21kind: Secret
22metadata:
23 name: {{ template "subscriber-proxy.fullname" . }}-keycloak-secret
24 labels:
25 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
26 release: "{{ .Release.Name }}"
27 heritage: "{{ .Release.Service }}"
28data:
29 username: "{{ .Values.config.openidc.credentials.username }}"
30 password: "{{ .Values.config.openidc.credentials.password }}"
31type: Opaque