blob: 7c3b04ae01f7702dfc929561b8b167ec4ed9640f [file] [log] [blame]
Michael Arrastia6c3ba492018-03-29 14:53:40 +01001# Copyright © 2018 Amdocs, AT&T
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 Bell Canada
Michael Arrastia6c3ba492018-03-29 14:53:40 +01003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16apiVersion: v1
17kind: Secret
18metadata:
19 name: {{ include "common.fullname" . }}-babel-secrets
20 namespace: {{ include "common.namespace" . }}
sushil masal08ef7092019-02-21 16:21:51 +053021 labels:
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ .Release.Name }}
25 heritage: {{ .Release.Service }}
Michael Arrastia6c3ba492018-03-29 14:53:40 +010026type: Opaque
27data:
28{{ tpl (.Files.Glob "resources/config/auth/*").AsSecrets . | indent 2 }}
29---
30apiVersion: v1
31kind: Secret
32metadata:
33 name: {{ include "common.fullname" . }}-pass
34 namespace: {{ include "common.namespace" . }}
35 labels:
36 app: {{ include "common.name" . }}
37 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
38 release: {{ .Release.Name }}
39 heritage: {{ .Release.Service }}
40type: Opaque
41data:
42 KEY_STORE_PASSWORD: {{ .Values.config.keyStorePassword | b64enc | quote }}
43 KEY_MANAGER_PASSWORD: {{ .Values.config.keyManagerPassword | b64enc | quote }}
Edwin Lawrance0a444a82018-10-24 14:47:01 +010044
45{{ if .Values.global.installSidecarSecurity }}
46---
47apiVersion: v1
48kind: Secret
49metadata:
50 name: {{ include "common.fullname" . }}-fproxy-auth-config
51 namespace: {{ include "common.namespace" . }}
sushil masal08ef7092019-02-21 16:21:51 +053052 labels:
53 app: {{ include "common.name" . }}
54 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
55 release: {{ .Release.Name }}
56 heritage: {{ .Release.Service }}
Edwin Lawrance0a444a82018-10-24 14:47:01 +010057type: Opaque
58data:
59{{ tpl (.Files.Glob "resources/fproxy/config/auth/*").AsSecrets . | indent 2 }}
60---
61apiVersion: v1
62kind: Secret
63metadata:
64 name: {{ include "common.fullname" . }}-rproxy-auth-config
65 namespace: {{ include "common.namespace" . }}
sushil masal08ef7092019-02-21 16:21:51 +053066 labels:
67 app: {{ include "common.name" . }}
68 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
69 release: {{ .Release.Name }}
70 heritage: {{ .Release.Service }}
Edwin Lawrance0a444a82018-10-24 14:47:01 +010071type: Opaque
72data:
73{{ tpl (.Files.Glob "resources/rproxy/config/auth/*").AsSecrets . | indent 2 }}
74---
75apiVersion: v1
76kind: Secret
77metadata:
78 name: {{ include "common.fullname" . }}-rproxy-security-config
79 namespace: {{ include "common.namespace" . }}
sushil masal08ef7092019-02-21 16:21:51 +053080 labels:
81 app: {{ include "common.name" . }}
82 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
83 release: {{ .Release.Name }}
84 heritage: {{ .Release.Service }}
Edwin Lawrance0a444a82018-10-24 14:47:01 +010085type: Opaque
86data:
87{{ tpl (.Files.Glob "resources/rproxy/config/security/*").AsSecrets . | indent 2 }}
88{{ end }}