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.disableSdcSdcBe }}
16 apiVersion: extensions/v1beta1
22 namespace: "{{ .Values.nsPrefix }}"
48 fieldPath: metadata.namespace
49 image: {{ .Values.image.readiness }}
50 imagePullPolicy: {{ .Values.pullPolicy }}
51 name: sdc-be-readiness
59 value: {{ .Values.nsPrefix }}
60 image: {{ .Values.image.readiness }}
61 imagePullPolicy: {{ .Values.pullPolicy }}
62 name: sdc-dmaap-readiness
70 fieldPath: status.podIP
71 image: {{ .Values.image.sdcBackend }}
72 imagePullPolicy: {{ .Values.pullPolicy }}
75 - mountPath: /usr/share/elasticsearch/data/
77 - mountPath: /root/chef-solo/environments/
78 name: sdc-environments
79 - mountPath: /etc/localtime
82 - mountPath: /var/lib/jetty/logs
84 - mountPath: /var/log/onap
86 - mountPath: /tmp/logback.xml
91 command: ["/bin/sh", "-c", "export LOG=wait_logback.log; touch $LOG; export SRC=/tmp/logback.xml; export DST=/var/lib/jetty/config/catalog-be/; while [ ! -e $DST ]; do echo 'Waiting for $DST...' >> $LOG; sleep 5; done; sleep 2; /bin/cp -f $SRC $DST; echo 'Done' >> $LOG"]
98 initialDelaySeconds: 5
100 - image: {{ .Values.image.filebeat }}
101 imagePullPolicy: {{ .Values.pullPolicy }}
104 - mountPath: /usr/share/filebeat/filebeat.yml
106 subPath: filebeat.yml
107 - mountPath: /var/log/onap
109 - mountPath: /usr/share/filebeat/data
110 name: sdc-data-filebeat
112 - name: filebeat-conf
114 name: sdc-filebeat-configmap
117 - name: sdc-data-filebeat
121 name : sdc-log-be-configmap
122 - name: sdc-sdc-es-es
124 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/sdc/sdc-es/ES
125 - name: sdc-environments
127 name: sdc-environments-configmap
129 - name: sdc-localtime
134 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/sdc/logs
136 - name: "{{ .Values.nsPrefix }}-docker-registry-key"