blob: 6187104ce67a721cc83361a72805ebd28c4f0dcb [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, AT&T, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 ZTE
Mandeep Khindaa1047f42018-03-22 02:12:15 +00003#
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:
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010019 name: {{ include "common.release" . }}-sdc-cs-secrets
Mandeep Khindaa1047f42018-03-22 02:12:15 +000020 namespace: {{ include "common.namespace" . }}
21 labels:
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010024 release: {{ include "common.release" . }}
Mandeep Khindaa1047f42018-03-22 02:12:15 +000025 heritage: {{ .Release.Service }}
26type: Opaque
27data:
28 #application user
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000029 sdc_user: "{{ .Values.global.secrets.sdc_user }}"
30 sdc_password: "{{ .Values.global.secrets.sdc_password }}"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000031 #default user:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000032 cs_password: "{{ .Values.global.secrets.cs_password }}"
IlanaPc80bff92019-11-18 21:10:08 +020033 cs_truststore_password: "{{ .Values.global.secrets.cs_truststore_password }}"
34 # ssl - stores
35 truststore_password: "{{ .Values.global.secrets.truststore_password }}"
36 keystore_password: "{{ .Values.global.secrets.keystore_password }}"
37 # workflow
k.kedron2774ab12020-03-26 11:13:46 +010038 wf_external_user_password: "{{ .Values.global.secrets.wf_external_user_password }}"
39---
40apiVersion: v1
41kind: Secret
42metadata:
43 name: sdc-cert
44 namespace: {{ include "common.namespace" . }}
45 labels:
46 app: {{ include "common.name" . }}
47 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
48 release: {{ include "common.release" . }}
49 heritage: {{ .Release.Service }}
50type: Opaque
51data:
52{{ tpl (.Files.Glob "resources/cert/*").AsSecrets . | indent 2 }}