1 #{{ if not .Values.disablePolicyPdp }}
2 apiVersion: extensions/v1beta1
6 namespace: "{{ .Values.nsPrefix }}-policy"
33 fieldPath: metadata.namespace
34 image: "{{ .Values.image.readiness }}:{{ .Values.image.readinessVersion }}"
35 imagePullPolicy: {{ .Values.pullPolicy }}
42 image: "{{ .Values.image.policyPe }}:{{ .Values.image.policyPeVersion }}"
43 imagePullPolicy: {{ .Values.pullPolicy }}
50 initialDelaySeconds: 5
53 - mountPath: /etc/localtime
56 - mountPath: /tmp/policy-install/config
58 - mountPath: /var/log/onap
60 - mountPath: /tmp/logback.xml
65 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"]
66 - image: {{ .Values.image.filebeat }}
67 imagePullPolicy: {{ .Values.pullPolicy }}
70 - mountPath: /usr/share/filebeat/filebeat.yml
72 - mountPath: /var/log/onap
74 - mountPath: /usr/share/filebeat/data
75 name: policy-data-filebeat
82 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml
85 - name: policy-data-filebeat
87 - name: policy-logback
89 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/policy/xacml-pdp-rest/logback.xml
92 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/pe/
94 - name: "{{ .Values.nsPrefix }}-docker-registry-key"