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.disableSdcSdcFe }}
16 apiVersion: extensions/v1beta1
22 namespace: "{{ .Values.nsPrefix }}"
50 fieldPath: metadata.namespace
51 image: {{ .Values.image.readiness }}
52 imagePullPolicy: {{ .Values.pullPolicy }}
53 name: sdc-fe-readiness
62 fieldPath: status.podIP
63 image: {{ .Values.image.sdcFrontend }}
64 imagePullPolicy: {{ .Values.pullPolicy }}
66 - mountPath: /usr/share/elasticsearch/data/
68 - mountPath: /root/chef-solo/environments/
69 name: sdc-environments
70 - mountPath: /etc/localtime
73 - mountPath: /var/lib/jetty/logs
75 - mountPath: /var/log/onap
77 - mountPath: /root/chef-solo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
79 subPath: FE_2_setup_configuration.rb
80 - mountPath: /tmp/logback.xml
85 command: ["/bin/sh", "-c", "export LOG=wait_logback.log; touch $LOG; export SRC=/tmp/logback.xml; export DST=/var/lib/jetty/config/catalog-fe/; while [ ! -e $DST ]; do echo 'Waiting for $DST...' >> $LOG; sleep 5; done; sleep 2; /bin/cp -f $SRC $DST; echo 'Done' >> $LOG"]
92 initialDelaySeconds: 5
94 - image: {{ .Values.image.filebeat }}
95 imagePullPolicy: {{ .Values.pullPolicy }}
98 - mountPath: /usr/share/filebeat/filebeat.yml
100 subPath: filebeat.yml
101 - mountPath: /var/log/onap
103 - mountPath: /usr/share/filebeat/data
104 name: sdc-data-filebeat
106 - name: filebeat-conf
108 name : sdc-filebeat-configmap
111 - name: sdc-data-filebeat
115 name : sdc-log-fe-configmap
116 - name: sdc-sdc-es-es
118 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/sdc/sdc-es/ES
119 - name: sdc-environments
121 name: sdc-environments-configmap
123 - name: sdc-localtime
128 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/sdc/logs
129 - name: sdc-fe-config
131 name: sdc-fe-configmap
134 - name: "{{ .Values.nsPrefix }}-docker-registry-key"