blob: 60fb645475cb1432747987639ce282bff7def94e [file] [log] [blame]
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00001# Copyright © 2018 Amdocs, Bell Canada, AT&T
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
kj9bf27312018-03-19 15:07:44 +020015apiVersion: v1
16kind: ConfigMap
17metadata:
vagrant1a3a3552018-03-10 23:56:32 +000018 name: {{ include "common.fullname" . }}-log
kj9bf27312018-03-19 15:07:44 +020019 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000020 labels:
21 app: {{ include "common.name" . }}
22 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23 release: {{ .Release.Name }}
24 heritage: {{ .Release.Service }}
kj9bf27312018-03-19 15:07:44 +020025data:
vagrant1a3a3552018-03-10 23:56:32 +000026{{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
27---
28apiVersion: v1
29kind: ConfigMap
30metadata:
31 name: {{ include "common.fullname" . }}-localhost-access-log-configmap
32 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000033 labels:
34 app: {{ include "common.name" . }}
35 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
36 release: {{ .Release.Name }}
37 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000038data:
39{{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }}
40---
41apiVersion: v1
42kind: ConfigMap
43metadata:
44 name: {{ include "common.fullname" . }}-db-real-configmap
45 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000046 labels:
47 app: {{ include "common.name" . }}
48 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
49 release: {{ .Release.Name }}
50 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000051data:
52{{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }}
53---
54apiVersion: v1
55kind: ConfigMap
56metadata:
57 name: {{ include "common.fullname" . }}-db-cached-configmap
58 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000059 labels:
60 app: {{ include "common.name" . }}
61 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
62 release: {{ .Release.Name }}
63 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000064data:
65{{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }}
66---
67apiVersion: v1
68kind: ConfigMap
69metadata:
70 name: {{ include "common.fullname" . }}-aaiconfig-configmap
71 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000072 labels:
73 app: {{ include "common.name" . }}
74 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
75 release: {{ .Release.Name }}
76 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000077data:
78{{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }}
79---
80apiVersion: v1
81kind: ConfigMap
82metadata:
83 name: {{ include "common.fullname" . }}-springapp-configmap
84 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000085 labels:
86 app: {{ include "common.name" . }}
87 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
88 release: {{ .Release.Name }}
89 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000090data:
91{{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
92---
93apiVersion: v1
94kind: ConfigMap
95metadata:
96 name: {{ include "common.fullname" . }}-realm-configmap
97 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000098 labels:
99 app: {{ include "common.name" . }}
100 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
101 release: {{ .Release.Name }}
102 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +0000103data:
104{{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }}
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200105---
106apiVersion: v1
107kind: ConfigMap
108metadata:
109 name: {{ include "common.fullname" . }}-aaf-props
110 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +0000111 labels:
112 app: {{ include "common.name" . }}
113 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
114 release: {{ .Release.Name }}
115 heritage: {{ .Release.Service }}
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200116data:
117{{ tpl (.Files.Glob "resources/config/aaf/org.osaaf.location.props").AsConfig . | indent 2 }}
118{{ tpl (.Files.Glob "resources/config/aaf/permissions.properties").AsConfig . | indent 2 }}
119{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.props").AsConfig . | indent 2 }}
120{{ tpl (.Files.Glob "resources/config/aaf/cadi.properties").AsConfig . | indent 2 }}
121
122---
123apiVersion: v1
124kind: Secret
125metadata:
126 name: {{ include "common.fullname" . }}-aaf-keys
127 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +0000128 labels:
129 app: {{ include "common.name" . }}
130 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
131 release: {{ .Release.Name }}
132 heritage: {{ .Release.Service }}
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200133type: Opaque
134data:
135{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }}
136{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }}
137{{ tpl (.Files.Glob "resources/config/aaf/truststoreONAPall.jks").AsSecrets . | indent 2 }}