1 #{{ if not .Values.disableSdcSdcFe }}
2 apiVersion: extensions/v1beta1
8 namespace: "{{ .Values.nsPrefix }}-sdc"
19 pod.beta.kubernetes.io/init-containers: '[
40 "fieldPath": "metadata.namespace"
45 "image": "{{ .Values.image.readiness }}",
46 "imagePullPolicy": "{{ .Values.pullPolicy }}",
47 "name": "sdc-fe-readiness"
59 fieldPath: status.podIP
60 image: {{ .Values.image.sdcFrontend }}
61 imagePullPolicy: {{ .Values.pullPolicy }}
63 - mountPath: /usr/share/elasticsearch/data/
65 - mountPath: /root/chef-solo/environments/
66 name: sdc-environments
67 - mountPath: /etc/localtime
70 - mountPath: /var/lib/jetty/logs
72 - mountPath: /root/chef-solo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
74 - mountPath: /tmp/logback.xml
79 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"]
86 initialDelaySeconds: 5
88 - image: {{ .Values.image.filebeat }}
89 imagePullPolicy: {{ .Values.pullPolicy }}
92 - mountPath: /usr/share/filebeat/filebeat.yml
94 - mountPath: /var/log/onap
96 - mountPath: /usr/share/filebeat/data
97 name: sdc-data-filebeat
101 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml
104 - name: sdc-data-filebeat
108 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/sdc/fe/logback.xml
109 - name: sdc-sdc-es-es
111 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-es/ES
112 - name: sdc-environments
114 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/environments
115 - name: sdc-localtime
120 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/logs
121 - name: sdc-fe-config
123 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-fe/FE_2_setup_configuration.rb
125 - name: "{{ .Values.nsPrefix }}-docker-registry-key"