1 apiVersion: extensions/v1beta1
5 namespace: "{{ .Values.nsPrefix }}-policy"
17 pod.beta.kubernetes.io/init-containers: '[
36 "fieldPath": "metadata.namespace"
41 "image": "{{ .Values.image.readiness }}:{{ .Values.image.readinessVersion }}",
42 "imagePullPolicy": "{{ .Values.pullPolicy }}",
43 "name": "pdp-readiness"
52 image: "{{ .Values.image.policyPe }}:{{ .Values.image.policyPeVersion }}"
53 imagePullPolicy: {{ .Values.pullPolicy }}
60 initialDelaySeconds: 5
63 - mountPath: /etc/localtime
66 - mountPath: /tmp/policy-install/config
68 - mountPath: /var/log/onap
70 - mountPath: /tmp/logback.xml
75 command: ["/bin/sh", "-c", "export LOG=wait_logback.log; touch $LOG; export SRC=/tmp/logback.xml; export DST=/opt/app/policy/servers/pdp/webapps/pdp/WEB-INF/classes/; while [ ! -e $DST ]; do echo 'Waiting for $DST...' >> $LOG; sleep 5; done; sleep 2; /bin/cp -f $SRC $DST; echo 'Done' >> $LOG"]
76 - image: {{ .Values.image.filebeat }}
77 imagePullPolicy: {{ .Values.pullPolicy }}
80 - mountPath: /usr/share/filebeat/filebeat.yml
82 - mountPath: /var/log/onap
84 - mountPath: /usr/share/filebeat/data
85 name: policy-data-filebeat
92 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml
95 - name: policy-data-filebeat
97 - name: policy-logback
99 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/policy/xacml-pdp-rest/logback.xml
102 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/pe/
104 - name: "{{ .Values.nsPrefix }}-docker-registry-key"