blob: 2094f605c254495fb84d4d19643f4e712107ab1f [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
mayankg270328d32912018-02-06 10:24:30 +000015#{{ if not .Values.disableAaiSearchDataService }}
16apiVersion: v1
17kind: ConfigMap
18metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000019 name: aai-search-data-configmap
20 namespace: {{ .Values.nsPrefix }}
mayankg270328d32912018-02-06 10:24:30 +000021data:
22{{ tpl (.Files.Glob "resources/config/search-data-service/appconfig/*").AsConfig . | indent 2 }}
23---
24apiVersion: v1
25kind: Secret
26metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000027 name: aai-search-data-keystone-secret
28 namespace: {{ .Values.nsPrefix }}
mayankg270328d32912018-02-06 10:24:30 +000029type: Opaque
30data:
31{{ tpl (.Files.Glob "resources/config/search-data-service/appconfig/auth/tomcat_keystore").AsSecrets . | indent 2 }}
32---
33apiVersion: v1
34kind: ConfigMap
35metadata:
36 name: aai-search-policy-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +000037 namespace: {{ .Values.nsPrefix }}
mayankg270328d32912018-02-06 10:24:30 +000038data:
39{{ tpl (.Files.Glob "resources/config/search-data-service/appconfig/auth/search_policy.json").AsSecrets . | indent 2 }}
mayankg270348798202018-02-07 06:02:17 +000040---
41apiVersion: v1
42kind: ConfigMap
43metadata:
44 name: aai-search-data-service-log-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +000045 namespace: {{ .Values.nsPrefix }}
mayankg270348798202018-02-07 06:02:17 +000046data:
47{{ tpl (.Files.Glob "resources/config/log/search-data-service/logback.xml").AsConfig . | indent 2 }}
mayankg270328d32912018-02-06 10:24:30 +000048#{{ end }}