From c171ac2408cfac0171f36f9415cc16dc03bb95f1 Mon Sep 17 00:00:00 2001 From: Huabing Zhao Date: Tue, 31 Jul 2018 06:49:03 +0000 Subject: Enable istio sidecar injectio for vfc Issue-ID: VFC-1003 Change-Id: I965aa3887e26c828b8d671edd6e423c33508af91 Signed-off-by: Huabing Zhao --- kubernetes/vfc/charts/vfc-vnflcm/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kubernetes/vfc/charts/vfc-vnflcm/templates') diff --git a/kubernetes/vfc/charts/vfc-vnflcm/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-vnflcm/templates/deployment.yaml index ccea328c0c..17aaad731a 100644 --- a/kubernetes/vfc/charts/vfc-vnflcm/templates/deployment.yaml +++ b/kubernetes/vfc/charts/vfc-vnflcm/templates/deployment.yaml @@ -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 -- cgit 1.2.3-korg