1 #{{ if not .Values.disablePolicyDrools }}
2 apiVersion: extensions/v1beta1
6 namespace: "{{ .Values.nsPrefix }}-policy"
31 fieldPath: metadata.namespace
32 image: "{{ .Values.image.readiness }}:{{ .Values.image.readinessVersion }}"
33 imagePullPolicy: {{ .Values.pullPolicy }}
34 name: drools-readiness
36 - ip: "{{ .Values.aaiServiceClusterIp }}"
38 - "aai.api.simpledemo.openecomp.org"
44 image: "{{ .Values.image.policyDrools }}:{{ .Values.image.policyDroolsVersion }}"
45 imagePullPolicy: {{ .Values.pullPolicy }}
52 initialDelaySeconds: 5
55 - mountPath: /etc/localtime
58 - mountPath: /tmp/policy-install/config
60 - mountPath: /usr/share/maven/conf/settings.xml
61 name: drools-settingsxml
63 - mountPath: /var/log/onap
65 - mountPath: /tmp/logback.xml
71 command: ["/bin/sh", "-c", "export LOG=wait_logback.log; touch $LOG; export SRC=/tmp/logback.xml; export DST=/opt/app/policy/config/; while [ ! -e $DST ]; do echo 'Waiting for $DST...' >> $LOG; sleep 5; done; sleep 2; /bin/cp -f $SRC $DST; echo 'Done' >> $LOG"]
72 - image: {{ .Values.image.filebeat }}
73 imagePullPolicy: {{ .Values.pullPolicy }}
76 - mountPath: /usr/share/filebeat/filebeat.yml
79 - mountPath: /var/log/onap
81 - mountPath: /usr/share/filebeat/data
82 name: policy-data-filebeat
89 name: policy-filebeat-configmap
92 - name: policy-data-filebeat
94 - name: policy-logback
96 name: policy-drools-log-configmap
97 - name: drools-settingsxml
99 name: policy-dep-drools-settings-configmap
102 secretName: policy-dep-drools-secret
104 - key: policy-keystore
105 path: policy-keystore
107 - key: feature-healthcheck.conf
108 path: feature-healthcheck.conf
113 - key: policy-management.conf
114 path: policy-management.conf
116 - key: drools-tweaks.sh
117 path: drools-tweaks.sh
120 - name: "{{ .Values.nsPrefix }}-docker-registry-key"