blob: 5c6dc7293d98e59aeec29bdec83de7a7e93e2920 [file] [log] [blame]
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01001{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01002# Copyright © 2018 Amdocs, Bell Canada, AT&T
3#
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.
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010015*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010016
17apiVersion: v1
18kind: ConfigMap
19metadata:
20 name: {{ include "common.fullname" . }}-configmap
21 namespace: {{ include "common.namespace" . }}
22 labels:
23 app: {{ include "common.name" . }}
24 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
25 release: {{ include "common.release" . }}
26 heritage: {{ .Release.Service }}
27data:
28{{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
29{{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }}
30{{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }}
31{{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }}
32{{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }}
33{{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
34{{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }}
35---
36apiVersion: v1
37kind: ConfigMap
38metadata:
39 name: {{ include "common.fullname" . }}-aaf-props
40 namespace: {{ include "common.namespace" . }}
41 labels:
42 app: {{ include "common.name" . }}
43 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
44 release: {{ include "common.release" . }}
45 heritage: {{ .Release.Service }}
46data:
47{{ tpl (.Files.Glob "resources/config/aaf/org.osaaf.location.props").AsConfig . | indent 2 }}
48{{ tpl (.Files.Glob "resources/config/aaf/permissions.properties").AsConfig . | indent 2 }}
49{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.props").AsConfig . | indent 2 }}
50{{ tpl (.Files.Glob "resources/config/aaf/cadi.properties").AsConfig . | indent 2 }}
51---
52apiVersion: v1
53kind: Secret
54metadata:
55 name: {{ include "common.fullname" . }}-aaf-keys
56 namespace: {{ include "common.namespace" . }}
57 labels:
58 app: {{ include "common.name" . }}
59 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
60 release: {{ include "common.release" . }}
61 heritage: {{ .Release.Service }}
62type: Opaque
63data:
64{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }}
65{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }}
66{{ tpl (.Files.Glob "resources/config/aaf/bath_config.csv").AsSecrets . | indent 2 }}