1 #{{ if not .Values.disablePolicyPdp }}
2 apiVersion: extensions/v1beta1
6 namespace: "{{ .Values.nsPrefix }}-policy"
29 fieldPath: metadata.namespace
30 image: "{{ .Values.image.readiness }}:{{ .Values.image.readinessVersion }}"
31 imagePullPolicy: {{ .Values.pullPolicy }}
38 image: "{{ .Values.image.policyPe }}:{{ .Values.image.policyPeVersion }}"
39 imagePullPolicy: {{ .Values.pullPolicy }}
46 initialDelaySeconds: 5
49 - mountPath: /etc/localtime
52 - mountPath: /tmp/policy-install/config
54 - mountPath: /var/log/onap
56 - mountPath: /tmp/logback.xml
61 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"]
62 - image: {{ .Values.image.filebeat }}
63 imagePullPolicy: {{ .Values.pullPolicy }}
66 - mountPath: /usr/share/filebeat/filebeat.yml
68 - mountPath: /var/log/onap
70 - mountPath: /usr/share/filebeat/data
71 name: policy-data-filebeat
78 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml
81 - name: policy-data-filebeat
83 - name: policy-logback
85 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/policy/xacml-pdp-rest/logback.xml
88 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/pe/
90 - name: "{{ .Values.nsPrefix }}-docker-registry-key"