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-consul/templates/deployment.yaml | 2 ++ kubernetes/msb/charts/msb-consul/values.yaml | 1 + 2 files changed, 3 insertions(+) (limited to 'kubernetes/msb/charts/msb-consul') diff --git a/kubernetes/msb/charts/msb-consul/templates/deployment.yaml b/kubernetes/msb/charts/msb-consul/templates/deployment.yaml index 74342e7e0c..09a3d8f470 100644 --- a/kubernetes/msb/charts/msb-consul/templates/deployment.yaml +++ b/kubernetes/msb/charts/msb-consul/templates/deployment.yaml @@ -15,6 +15,8 @@ spec: labels: app: {{ include "common.name" . }} release: {{ .Release.Name }} + annotations: + sidecar.istio.io/inject: "{{.Values.istioSidecar}}" spec: containers: - name: {{ include "common.name" . }} diff --git a/kubernetes/msb/charts/msb-consul/values.yaml b/kubernetes/msb/charts/msb-consul/values.yaml index 0c7a508dc4..b87cf8528a 100644 --- a/kubernetes/msb/charts/msb-consul/values.yaml +++ b/kubernetes/msb/charts/msb-consul/values.yaml @@ -11,6 +11,7 @@ global: dockerHubRepository: registry.hub.docker.com image: library/consul:0.9.3 pullPolicy: Always +istioSidecar: true # application configuration config: {} -- cgit 1.2.3-korg