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.disableAaiModelLoaderService }}
16 apiVersion: extensions/v1beta1
19 name: aai-model-loader-service
20 namespace: "{{ .Values.nsPrefix }}"
22 replicas: {{ .Values.modelLoaderReplicas }}
25 app: model-loader-service
29 app: model-loader-service
30 name: aai-model-loader-service
33 - name: model-loader-service
34 image: "{{ .Values.image.modelLoaderImage }}:{{ .Values.image.modelLoaderVersion }}"
35 imagePullPolicy: {{ .Values.pullPolicy }}
38 value: /opt/app/model-loader/config/
40 - mountPath: /etc/localtime
43 - mountPath: /opt/app/model-loader/config/model-loader.properties
44 subPath: model-loader.properties
45 name: aai-model-loader-prop-config
46 - mountPath: /opt/app/model-loader/config/auth/
47 name: aai-model-loader-auth-config
48 - mountPath: /var/log/onap
49 name: aai-model-loader-logs
50 - mountPath: /opt/app/model-loader/bundleconfig/etc/logback.xml
51 name: aai-model-loader-log-conf
56 - name: filebeat-onap-aai-model-loader
57 image: {{ .Values.image.filebeat }}
58 imagePullPolicy: {{ .Values.pullPolicy }}
60 - mountPath: /usr/share/filebeat/filebeat.yml
63 - mountPath: /var/log/onap
64 name: aai-model-loader-logs
65 - mountPath: /usr/share/filebeat/data
66 name: aai-model-loader-filebeat
71 - name: aai-model-loader-prop-config
73 name: aai-model-loader-prop-configmap
74 - name: aai-model-loader-auth-config
76 secretName: aai-model-loader-secret
79 name: aai-filebeat-configmap
80 - name: aai-model-loader-logs
82 - name: aai-model-loader-filebeat
84 - name: aai-model-loader-log-conf
86 name: aai-model-loader-log-configmap
89 - name: "{{ .Values.nsPrefix }}-docker-registry-key"