Enable istio sidecar injectio for vfc

Issue-ID: VFC-1003
Change-Id: I965aa3887e26c828b8d671edd6e423c33508af91
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
diff --git a/kubernetes/vfc/charts/vfc-resmgr/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-resmgr/templates/deployment.yaml
index 27d5fcd..c42d22e 100644
--- a/kubernetes/vfc/charts/vfc-resmgr/templates/deployment.yaml
+++ b/kubernetes/vfc/charts/vfc-resmgr/templates/deployment.yaml
@@ -29,6 +29,8 @@
       labels:
         app: {{ include "common.name" . }}
         release: {{ .Release.Name }}
+      annotations:
+        sidecar.istio.io/inject: "{{.Values.istioSidecar}}"
     spec:
       initContainers:
 #Example init container for dependency checking
diff --git a/kubernetes/vfc/charts/vfc-resmgr/values.yaml b/kubernetes/vfc/charts/vfc-resmgr/values.yaml
index 6e5251b..d7de044 100644
--- a/kubernetes/vfc/charts/vfc-resmgr/values.yaml
+++ b/kubernetes/vfc/charts/vfc-resmgr/values.yaml
@@ -30,6 +30,9 @@
 image: onap/vfc/resmanagement:1.1.0
 pullPolicy: Always
 
+#Istio sidecar injection policy
+istioSidecar: true
+
 # flag to enable debugging - application support required
 debugEnabled: false