1 # Copyright © 2018 AT&T USA
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
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" }}
21 name: {{ .Release.Name}}-so-ssl-pwd-secret
22 namespace: {{ include "common.namespace" . }}
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" }}
32 name: {{ .Release.Name}}-so-ssl-secret
33 namespace: {{ include "common.namespace" . }}
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" }}
43 name: {{ .Release.Name}}-so-ssl-client-secret
44 namespace: {{ include "common.namespace" . }}