blob: d67601ca65378a4580fa646b47adf7b94b138590 [file] [log] [blame]
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +00001# Copyright © 2017 Amdocs, Bell Canada
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.
14
15apiVersion: v1
16kind: Secret
17metadata:
18 name: {{ .Release.Name}}-aaf-local-secret
19 namespace: {{ include "common.namespace" . }}
20 labels:
21 app: {{ include "common.name" . }}
22 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23 release: {{ .Release.Name }}
24 heritage: {{ .Release.Service }}
25data:
26{{ (.Files.Glob "resources/config/local/org.osaaf.aaf.trust.p12").AsSecrets | indent 2 }}
27{{ (.Files.Glob "resources/config/local/org.osaaf.aaf.p12").AsSecrets | indent 2 }}
28{{ (.Files.Glob "resources/config/local/org.osaaf.aaf.keyfile").AsSecrets | indent 2 }}
29{{ (.Files.Glob "resources/config/local/org.osaaf.aaf.cm.p12").AsSecrets | indent 2 }}
30type: Opaque
31---
32apiVersion: v1
33kind: Secret
34metadata:
35 name: {{ .Release.Name}}-aaf-public-secret
36 namespace: {{ include "common.namespace" . }}
37 labels:
38 app: {{ include "common.name" . }}
39 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
40 release: {{ .Release.Name }}
41 heritage: {{ .Release.Service }}
42data:
43{{ (.Files.Glob "resources/config/public/truststoreONAP.p12").AsSecrets | indent 2 }}
44{{ (.Files.Glob "resources/config/public/AAF_RootCA.cer").AsSecrets | indent 2 }}
45{{ (.Files.Glob "resources/config/public/truststoreONAPall.jks").AsSecrets | indent 2 }}
46type: Opaque
47