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.disableAaiAaiTraversal }}
16 apiVersion: extensions/v1beta1
20 namespace: "{{ .Values.nsPrefix }}"
22 replicas: {{ .Values.aaiTraversalReplicas }}
32 msb.onap.org/service-info: '[
34 "serviceName": "_aai-generic-query",
36 "url": "/aai/v11/search/generic-query",
40 "lb_policy":"ip_hash",
42 "path": "/aai/v11/search/generic-query"
45 "serviceName": "_aai-generic-query",
47 "url": "/aai/v12/search/generic-query",
51 "lb_policy":"ip_hash",
53 "path": "/aai/v12/search/generic-query"
56 "serviceName": "_aai-generic-query",
58 "url": "/aai/v13/search/generic-query",
62 "lb_policy":"ip_hash",
64 "path": "/aai/v13/search/generic-query"
67 "serviceName": "_aai-nodes-query",
69 "url": "/aai/v11/search/nodes-query",
73 "lb_policy":"ip_hash",
75 "path": "/aai/v11/search/nodes-query"
78 "serviceName": "_aai-nodes-query",
80 "url": "/aai/v12/search/nodes-query",
84 "lb_policy":"ip_hash",
86 "path": "/aai/v12/search/nodes-query"
89 "serviceName": "_aai-nodes-query",
91 "url": "/aai/v13/search/nodes-query",
95 "lb_policy":"ip_hash",
97 "path": "/aai/v13/search/nodes-query"
100 "serviceName": "_aai-query",
102 "url": "/aai/v11/query",
106 "lb_policy":"ip_hash",
108 "path": "/aai/v11/query"
111 "serviceName": "_aai-query",
113 "url": "/aai/v12/query",
117 "lb_policy":"ip_hash",
119 "path": "/aai/v12/query"
122 "serviceName": "_aai-query",
124 "url": "/aai/v13/query",
128 "lb_policy":"ip_hash",
130 "path": "/aai/v13/query"
133 "serviceName": "_aai-named-query",
134 "url": "/aai/search",
138 "lb_policy":"ip_hash",
140 "path": "/aai/search"
143 "serviceName": "aai-generic-query",
145 "url": "/aai/v11/search/generic-query",
149 "lb_policy":"ip_hash",
153 "serviceName": "aai-generic-query",
155 "url": "/aai/v12/search/generic-query",
159 "lb_policy":"ip_hash",
163 "serviceName": "aai-generic-query",
165 "url": "/aai/v13/search/generic-query",
169 "lb_policy":"ip_hash",
173 "serviceName": "aai-nodes-query",
175 "url": "/aai/v11/search/nodes-query",
179 "lb_policy":"ip_hash",
183 "serviceName": "aai-nodes-query",
185 "url": "/aai/v12/search/nodes-query",
189 "lb_policy":"ip_hash",
193 "serviceName": "aai-nodes-query",
195 "url": "/aai/v13/search/nodes-query",
199 "lb_policy":"ip_hash",
203 "serviceName": "aai-query",
205 "url": "/aai/v11/query",
209 "lb_policy":"ip_hash",
213 "serviceName": "aai-query",
215 "url": "/aai/v12/query",
219 "lb_policy":"ip_hash",
223 "serviceName": "aai-query",
225 "url": "/aai/v13/query",
229 "lb_policy":"ip_hash",
233 "serviceName": "aai-named-query",
234 "url": "/aai/search",
238 "lb_policy":"ip_hash",
256 fieldPath: metadata.namespace
257 image: {{ .Values.image.readiness }}
258 imagePullPolicy: {{ .Values.pullPolicy }}
259 name: aai-traversal-readiness
261 - name: aai-traversal
262 image: "{{ .Values.image.aaiTraversalImage }}:{{ .Values.image.aaiTraversalVersion }}"
263 imagePullPolicy: {{ .Values.pullPolicy }}
269 - name: AAI_CORE_VERSION
270 value: {{ .Values.aaicoreversion }}
272 value: /var/chef/aai-data/environments
274 value: http://gerrit.onap.org/r/aai
275 - name: RESOURCES_HOSTNAME
276 value: aai-resources.{{ .Values.nsPrefix }}
278 - mountPath: /etc/localtime
281 - mountPath: /var/chef/aai-data/chef-config/dev/.knife/solo.rb
283 name: aai-chef-config
284 - mountPath: /var/chef/aai-data/environments/
286 - mountPath: /var/log/onap
287 name: aai-traversal-logs
288 - mountPath: /opt/app/aai-traversal/bundleconfig/etc/logback.xml
289 name: aai-traversal-log-conf
292 - containerPort: 8446
296 initialDelaySeconds: 5
298 - name: filebeat-onap-aai-traversal
299 image: {{ .Values.image.filebeat }}
300 imagePullPolicy: {{ .Values.pullPolicy }}
302 - mountPath: /usr/share/filebeat/filebeat.yml
303 subPath: filebeat.yml
305 - mountPath: /var/log/onap
306 name: aai-traversal-logs
307 - mountPath: /usr/share/filebeat/data
308 name: aai-traversal-filebeat
313 - name: aai-chef-config
315 name: aai-chef-config-configmap
318 name: aai-resources-environments-configmap
319 - name: filebeat-conf
321 name: aai-filebeat-configmap
322 - name: aai-traversal-logs
324 - name: aai-traversal-filebeat
326 - name: aai-traversal-log-conf
328 name: aai-traversal-log-configmap
329 restartPolicy: Always
331 - name: "{{ .Values.nsPrefix }}-docker-registry-key"