blob: 2dcd08b45171d8cb0f1ec6cb1460a3ed5adc5af7 [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" . }}
23kind: Secret
24---
25apiVersion: v1
26data:
27 {{- $csjksyamlpath := printf "resources/config/server-certs/mso-server-key-store.jks" }}
28 {{- $tsjksyamlpath := printf "resources/config/server-certs/mso-trust-store.jks" }}
29 mso-server-key-store.jks: {{ .Files.Get $csjksyamlpath | trimSuffix "\n" }}
30 mso-trust-store.jks: {{ .Files.Get $tsjksyamlpath | trimSuffix "\n" }}
31metadata:
32 name: {{ .Release.Name}}-so-ssl-secret
33 namespace: {{ include "common.namespace" . }}
34kind: Secret
35---
36apiVersion: v1
37data:
38 {{- $kpyamlpath := printf "resources/config/client-certs/keystore_password" }}
39 {{- $tpyamlpath := printf "resources/config/client-certs/truststore_password" }}
40 keystore_password: {{ .Files.Get $kpyamlpath | trimSuffix "\n" }}
41 truststore_password: {{ .Files.Get $tpyamlpath | trimSuffix "\n" }}
42metadata:
43 name: {{ .Release.Name}}-so-ssl-client-secret
44 namespace: {{ include "common.namespace" . }}
45kind: Secret