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.disableAaiSparkyBe }}
16 apiVersion: extensions/v1beta1
20 namespace: "{{ .Values.nsPrefix }}"
22 replicas: {{ .Values.sparkyReplicas }}
34 image: "{{ .Values.image.sparkyBeImage }}:{{ .Values.image.sparkyBeVersion }}"
35 imagePullPolicy: {{ .Values.pullPolicy }}
38 value: /opt/app/sparky/config/
39 - name: KEY_MANAGER_PASSWORD
40 value: OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
41 - name: KEY_STORE_PASSWORD
42 value: OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
44 - mountPath: /etc/localtime
47 - mountPath: /opt/app/sparky/config/auth/
48 name: aai-sparky-be-auth-config
49 - mountPath: /opt/app/sparky/config/synchronizer.properties
50 subPath: synchronizer.properties
51 name: aai-sparky-be-config
52 - mountPath: /opt/app/sparky/config/suggestive-search.properties
53 subPath: suggestive-search.properties
54 name: aai-sparky-be-config
55 - mountPath: /opt/app/sparky/config/search-service.properties
56 subPath: search-service.properties
57 name: aai-sparky-be-config
58 - mountPath: /opt/app/sparky/config/roles.config
60 name: aai-sparky-be-config
61 - mountPath: /opt/app/sparky/config/elasticsearch.properties
62 subPath: elasticsearch.properties
63 name: aai-sparky-be-config
64 - mountPath: /opt/app/sparky/config/aai.properties
65 subPath: aai.properties
66 name: aai-sparky-be-config
67 - mountPath: /opt/app/sparky/config/model/
68 name: aai-sparky-be-model-config
69 - mountPath: /opt/app/sparky/config/portal/
70 name: aai-sparky-be-portal-config
71 - mountPath: /var/log/onap
72 name: aai-sparky-be-logs
73 - mountPath: /opt/app/sparky/bundleconfig/etc/logback.xml
74 name: aai-sparky-be-log-conf
81 initialDelaySeconds: 5
83 - name: filebeat-onap-aai-sparky
84 image: {{ .Values.image.filebeat }}
85 imagePullPolicy: {{ .Values.pullPolicy }}
87 - mountPath: /usr/share/filebeat/filebeat.yml
90 - mountPath: /var/log/onap
91 name: aai-sparky-be-logs
92 - mountPath: /usr/share/filebeat/data
93 name: aai-sparky-filebeat
98 - name: aai-sparky-be-config
100 name: aai-sparky-be-configmap
101 - name: aai-sparky-be-model-config
103 name: aai-sparky-be-model-configmap
104 - name: aai-sparky-be-portal-config
106 name: aai-sparky-be-portal-configmap
107 - name: aai-sparky-be-auth-config
109 secretName: aai-sparky-be-secret
110 - name: filebeat-conf
112 name: aai-filebeat-configmap
113 - name: aai-sparky-be-logs
115 - name: aai-sparky-filebeat
117 - name: aai-sparky-be-log-conf
119 name: aai-sparky-be-log-configmap
120 restartPolicy: Always
122 - name: "{{ .Values.nsPrefix }}-docker-registry-key"