blob: 14d316c42b0c3269adcdc03017149bac3cab9719 [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
mayankg2703135d8912018-02-06 10:28:00 +000015#{{ if not .Values.disableAaiModelLoaderService }}
16apiVersion: v1
17kind: ConfigMap
18metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000019 name: aai-model-loader-prop-configmap
20 namespace: {{ .Values.nsPrefix }}
mayankg2703135d8912018-02-06 10:28:00 +000021data:
22{{ tpl (.Files.Glob "resources/config/model-loader/appconfig/model-loader.properties").AsConfig . | indent 2 }}
23---
24apiVersion: v1
25kind: Secret
26metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000027 name: aai-model-loader-secret
28 namespace: {{ .Values.nsPrefix }}
mayankg2703135d8912018-02-06 10:28:00 +000029type: Opaque
30data:
31{{ tpl (.Files.Glob "resources/config/model-loader/appconfig/auth/*").AsSecrets . | indent 2 }}
mayankg270333e3cc02018-02-07 05:56:34 +000032---
33apiVersion: v1
34kind: ConfigMap
35metadata:
36 name: aai-model-loader-log-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +000037 namespace: {{ .Values.nsPrefix }}
mayankg270333e3cc02018-02-07 05:56:34 +000038data:
39{{ tpl (.Files.Glob "resources/config/log/model-loader/logback.xml").AsConfig . | indent 2 }}
mayankg2703135d8912018-02-06 10:28:00 +000040#{{ end }}