Fix inconsistent repository references

Issue-ID: OOM-874

Changes to be committed:
	modified:   aai/charts/aai-babel/templates/deployment.yaml
	modified:   aai/charts/aai-champ/templates/deployment.yaml
	modified:   aai/charts/aai-data-router/templates/deployment.yaml
	modified:   aai/charts/aai-gizmo/templates/deployment.yaml
	modified:   aai/charts/aai-modelloader/templates/deployment.yaml
	modified:   aai/charts/aai-resources/templates/deployment.yaml
	modified:   aai/charts/aai-search-data/templates/deployment.yaml
	modified:   aai/charts/aai-sparky-be/templates/deployment.yaml
	modified:   aai/charts/aai-traversal/templates/deployment.yaml
	modified:   aai/charts/aai-traversal/templates/job.yaml
	modified:   appc/charts/appc-cdt/templates/deployment.yaml
	modified:   appc/templates/statefulset.yaml
	modified:   clamp/charts/mariadb/templates/deployment.yaml
	modified:   clamp/templates/deployment.yaml
	modified:   cli/templates/deployment.yaml
	modified:   common/dgbuilder/templates/deployment.yaml
	modified:   common/mariadb-galera/templates/statefulset.yaml
	modified:   dcaegen2/charts/dcae-bootstrap/templates/job.yaml
	modified:   dcaegen2/charts/dcae-cloudify-manager/templates/deployment.yaml
	modified:   dcaegen2/charts/dcae-healthcheck/templates/deployment.yaml
	modified:   dcaegen2/charts/dcae-redis/templates/statefulset.yaml
	modified:   dmaap/charts/dmaap-bus-controller/templates/deployment.yaml
	modified:   dmaap/charts/dmaap-bus-controller/values.yaml
	modified:   esr/charts/esr-gui/templates/deployment.yaml
	modified:   esr/templates/deployment.yaml
	modified:   msb/charts/kube2msb/templates/deployment.yaml
	modified:   msb/charts/msb-discovery/templates/deployment.yaml
	modified:   msb/charts/msb-eag/templates/deployment.yaml
	modified:   msb/charts/msb-iag/templates/deployment.yaml
	modified:   multicloud/charts/multicloud-ocata/templates/deployment.yaml
	modified:   multicloud/charts/multicloud-vio/templates/deployment.yaml
	modified:   multicloud/charts/multicloud-windriver/templates/deployment.yaml
	modified:   multicloud/templates/deployment.yaml
	modified:   policy/charts/brmsgw/templates/deployment.yaml
	modified:   policy/charts/drools/charts/nexus/templates/deployment.yaml
	modified:   policy/charts/drools/templates/statefulset.yaml
	modified:   policy/charts/mariadb/templates/deployment.yaml
	modified:   policy/charts/pdp/templates/statefulset.yaml
	modified:   policy/templates/deployment.yaml
	modified:   portal/charts/portal-app/templates/deployment.yaml
	modified:   portal/charts/portal-cassandra/templates/deployment.yaml
	modified:   portal/charts/portal-mariadb/templates/deployment.yaml
	modified:   portal/charts/portal-sdk/templates/deployment.yaml
	modified:   portal/charts/portal-widget/templates/deployment.yaml
	modified:   portal/charts/portal-zookeeper/templates/deployment.yaml
	modified:   sdnc/charts/dmaap-listener/templates/deployment.yaml
	modified:   sdnc/charts/sdnc-portal/templates/deployment.yaml
	modified:   sdnc/charts/ueb-listener/templates/deployment.yaml
	modified:   sdnc/templates/statefulset.yaml
	modified:   uui/charts/uui-server/templates/deployment.yaml
	modified:   uui/templates/deployment.yaml
	modified:   vid/charts/mariadb/templates/deployment.yaml
	modified:   vid/templates/deployment.yaml

Change-Id: I00aaa1eff3b870db3b475365eeda3f2e10aef6b9
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
diff --git a/kubernetes/policy/charts/drools/templates/statefulset.yaml b/kubernetes/policy/charts/drools/templates/statefulset.yaml
index 5dd49ed..b54b920 100644
--- a/kubernetes/policy/charts/drools/templates/statefulset.yaml
+++ b/kubernetes/policy/charts/drools/templates/statefulset.yaml
@@ -57,7 +57,7 @@
         - "aai.api.simpledemo.openecomp.org"
       containers:
         - name: {{ include "common.name" . }}
-          image: "{{ .Values.global.repository | default .Values.repository }}/{{ .Values.image }}"
+          image: "{{ include "common.repository" . }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           ports:
           - containerPort: {{ .Values.service.externalPort }}