From 81b8976007acce829ac5d4419319c35d4dbdadf1 Mon Sep 17 00:00:00 2001 From: Huabing Zhao Date: Mon, 30 Jul 2018 06:33:03 +0000 Subject: Enable Istio sidecar injection Change-Id: I0ec08fbbfa5e5949d7645493f7d1ce7237707a26 Issue-ID: MSB-226 Signed-off-by: Huabing Zhao --- kubernetes/msb/charts/msb-iag/templates/deployment.yaml | 2 ++ kubernetes/msb/charts/msb-iag/values.yaml | 1 + 2 files changed, 3 insertions(+) (limited to 'kubernetes/msb/charts/msb-iag') diff --git a/kubernetes/msb/charts/msb-iag/templates/deployment.yaml b/kubernetes/msb/charts/msb-iag/templates/deployment.yaml index 26ee3889c1..31bb2c96c8 100644 --- a/kubernetes/msb/charts/msb-iag/templates/deployment.yaml +++ b/kubernetes/msb/charts/msb-iag/templates/deployment.yaml @@ -15,6 +15,8 @@ spec: labels: app: {{ include "common.name" . }} release: {{ .Release.Name }} + annotations: + sidecar.istio.io/inject: "{{.Values.istioSidecar}}" spec: initContainers: - command: diff --git a/kubernetes/msb/charts/msb-iag/values.yaml b/kubernetes/msb/charts/msb-iag/values.yaml index 3f397c3250..20080cddf3 100644 --- a/kubernetes/msb/charts/msb-iag/values.yaml +++ b/kubernetes/msb/charts/msb-iag/values.yaml @@ -13,6 +13,7 @@ global: repository: nexus3.onap.org:10001 image: onap/msb/msb_apigateway:1.1.0 pullPolicy: Always +istioSidecar: true # application configuration config: -- cgit 1.2.3-korg