1 # Copyright © 2017 Amdocs, Bell Canada
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #{{ if not .Values.disableAaiSearchDataService }}
16 apiVersion: extensions/v1beta1
19 name: aai-search-data-service
20 namespace: "{{ .Values.nsPrefix }}"
22 replicas: {{ .Values.searchDataServiceReplicas }}
25 app: search-data-service
29 app: search-data-service
30 name: aai-search-data-service
33 - name: search-data-service
34 image: "{{ .Values.image.searchDataImage }}:{{ .Values.image.searchDataVersion }}"
35 imagePullPolicy: {{ .Values.pullPolicy }}
38 value: /opt/app/search-data-service/config/
39 - name: KEY_STORE_PASSWORD
40 value: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
41 - name: KEY_MANAGER_PASSWORD
42 value: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
44 - mountPath: /etc/localtime
47 - mountPath: /opt/app/search-data-service/config/filter-config.json
48 subPath: filter-config.json
49 name: aai-search-data-service-config
50 - mountPath: /opt/app/search-data-service/config/elastic-search.properties
51 subPath: elastic-search.properties
52 name: aai-search-data-service-config
53 - mountPath: /opt/app/search-data-service/config/analysis-config.json
54 subPath: filter-config.json
55 name: aai-search-data-service-config
56 - mountPath: /opt/app/search-data-service/config/auth/tomcat_keystore
57 subPath: tomcat_keystore
58 name: aai-search-data-service-auth-config
59 - mountPath: /opt/app/search-data-service/config/auth/search_policy.json
60 subPath: search_policy.json
61 name: aai-search-data-search-policy-config
62 - mountPath: /var/log/onap
63 name: aai-search-data-service-logs
64 - mountPath: /opt/app/search-data-service/bundleconfig/etc/logback.xml
65 name: aai-search-data-service-log-conf
72 initialDelaySeconds: 5
74 - name: filebeat-onap-aai-search
75 image: {{ .Values.image.filebeat }}
76 imagePullPolicy: {{ .Values.pullPolicy }}
78 - mountPath: /usr/share/filebeat/filebeat.yml
81 - mountPath: /var/log/onap
82 name: aai-search-data-service-logs
83 - mountPath: /usr/share/filebeat/data
84 name: aai-search-data-service-filebeat
89 - name: aai-search-data-service-config
91 name: aai-search-data-configmap
92 - name: aai-search-data-service-auth-config
94 secretName: aai-search-data-keystone-secret
95 - name: aai-search-data-search-policy-config
97 name: aai-search-policy-configmap
100 name: aai-filebeat-configmap
101 - name: aai-search-data-service-logs
103 - name: aai-search-data-service-filebeat
105 - name: aai-search-data-service-log-conf
107 name: aai-search-data-service-log-configmap
108 restartPolicy: Always
110 - name: "{{ .Values.nsPrefix }}-docker-registry-key"