Enable istio sidecar injectio for vfc
[oom.git] / kubernetes / vfc / charts / vfc-resmgr / templates / deployment.yaml
index 27d5fcd..c42d22e 100644 (file)
@@ -29,6 +29,8 @@ spec:
       labels:
         app: {{ include "common.name" . }}
         release: {{ .Release.Name }}
+      annotations:
+        sidecar.istio.io/inject: "{{.Values.istioSidecar}}"
     spec:
       initContainers:
 #Example init container for dependency checking