blob: 39c6138db3575423c9cbcc8104edb358d91d8f71 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +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
mayankg27039f44dc22018-02-06 16:40:19 +000015#{{ if not .Values.disableAaiSparkyBe }}
16apiVersion: v1
17kind: ConfigMap
18metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000019 name: aai-sparky-be-configmap
20 namespace: {{ .Values.nsPrefix }}
mayankg27039f44dc22018-02-06 16:40:19 +000021data:
22{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/*").AsConfig . | indent 2 }}
23---
24apiVersion: v1
25kind: ConfigMap
26metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000027 name: aai-sparky-be-model-configmap
28 namespace: {{ .Values.nsPrefix }}
mayankg27039f44dc22018-02-06 16:40:19 +000029data:
30{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/model/*").AsConfig . | indent 2 }}
31---
32apiVersion: v1
33kind: ConfigMap
34metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000035 name: aai-sparky-be-portal-configmap
36 namespace: {{ .Values.nsPrefix }}
mayankg27039f44dc22018-02-06 16:40:19 +000037data:
38{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/portal/*").AsConfig . | indent 2 }}
39---
40apiVersion: v1
41kind: Secret
42metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000043 name: aai-sparky-be-secret
44 namespace: {{ .Values.nsPrefix }}
mayankg27039f44dc22018-02-06 16:40:19 +000045type: Opaque
46data:
47{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/auth/*").AsSecrets . | indent 2 }}
mayankg270338d6d7b2018-02-07 05:29:22 +000048---
49apiVersion: v1
50kind: ConfigMap
51metadata:
52 name: aai-sparky-be-log-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +000053 namespace: {{ .Values.nsPrefix }}
mayankg270338d6d7b2018-02-07 05:29:22 +000054data:
55{{ tpl (.Files.Glob "resources/config/log/sparky-be/logback.xml").AsConfig . | indent 2 }}
mayankg27039f44dc22018-02-06 16:40:19 +000056#{{ end }}