blob: 021949f81ad5a86fab03677d0d346f2fbd29ac2e [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14apiVersion: v1
15data:
16 {{- $psyamlpath := printf "resources/config/server-certs/cadi_keystore_password" }}
17 {{- $tsyamlpath := printf "resources/config/server-certs/cadi_truststore_password" }}
18 cadi_keystore_password: {{ .Files.Get $psyamlpath | trimSuffix "\n" }}
19 cadi_truststore_password: {{ .Files.Get $tsyamlpath | trimSuffix "\n" }}
20metadata:
21 name: {{ .Release.Name}}-so-ssl-pwd-secret
22 namespace: {{ include "common.namespace" . }}
vaibhavjayas2f9a6d22018-09-19 13:41:29 +000023 labels:
24 app: {{ include "common.name" . }}
25 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
26 release: {{ .Release.Name }}
27 heritage: {{ .Release.Service }}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000028kind: Secret
29---
30apiVersion: v1
31data:
32 {{- $csjksyamlpath := printf "resources/config/server-certs/mso-server-key-store.jks" }}
33 {{- $tsjksyamlpath := printf "resources/config/server-certs/mso-trust-store.jks" }}
34 mso-server-key-store.jks: {{ .Files.Get $csjksyamlpath | trimSuffix "\n" }}
35 mso-trust-store.jks: {{ .Files.Get $tsjksyamlpath | trimSuffix "\n" }}
36metadata:
37 name: {{ .Release.Name}}-so-ssl-secret
38 namespace: {{ include "common.namespace" . }}
vaibhavjayas2f9a6d22018-09-19 13:41:29 +000039 labels:
40 app: {{ include "common.name" . }}
41 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
42 release: {{ .Release.Name }}
43 heritage: {{ .Release.Service }}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000044kind: Secret
45---
46apiVersion: v1
47data:
48 {{- $kpyamlpath := printf "resources/config/client-certs/keystore_password" }}
49 {{- $tpyamlpath := printf "resources/config/client-certs/truststore_password" }}
50 keystore_password: {{ .Files.Get $kpyamlpath | trimSuffix "\n" }}
51 truststore_password: {{ .Files.Get $tpyamlpath | trimSuffix "\n" }}
52metadata:
53 name: {{ .Release.Name}}-so-ssl-client-secret
54 namespace: {{ include "common.namespace" . }}
vaibhavjayas2f9a6d22018-09-19 13:41:29 +000055 labels:
56 app: {{ include "common.name" . }}
57 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
58 release: {{ .Release.Name }}
59 heritage: {{ .Release.Service }}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000060kind: Secret