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-workflow/templates/deployment.yaml | 2 ++ kubernetes/vfc/charts/vfc-workflow/values.yaml | 3 +++ 2 files changed, 5 insertions(+) (limited to 'kubernetes/vfc/charts/vfc-workflow') diff --git a/kubernetes/vfc/charts/vfc-workflow/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-workflow/templates/deployment.yaml index e2b3d0bc96..0bbfd75074 100644 --- a/kubernetes/vfc/charts/vfc-workflow/templates/deployment.yaml +++ b/kubernetes/vfc/charts/vfc-workflow/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 diff --git a/kubernetes/vfc/charts/vfc-workflow/values.yaml b/kubernetes/vfc/charts/vfc-workflow/values.yaml index dd4e09476c..d59800006d 100644 --- a/kubernetes/vfc/charts/vfc-workflow/values.yaml +++ b/kubernetes/vfc/charts/vfc-workflow/values.yaml @@ -30,6 +30,9 @@ repository: nexus3.onap.org:10001 image: onap/vfc/wfengine-mgrservice:1.1.0 pullPolicy: Always +#Istio sidecar injection policy +istioSidecar: true + # flag to enable debugging - application support required debugEnabled: false -- cgit 1.2.3-korg