From 408a87d4f67b554bf18cd05ca816ae486567a651 Mon Sep 17 00:00:00 2001 From: Huabing Zhao Date: Fri, 3 Aug 2018 06:35:41 +0000 Subject: Enable sidecar for kube2msb Issue-ID: MSB-226 Change-Id: I52e2047638cdf1d0471946ecbe508c451f765740 Signed-off-by: Huabing Zhao --- kubernetes/msb/charts/kube2msb/templates/deployment.yaml | 2 ++ kubernetes/msb/charts/kube2msb/values.yaml | 2 +- kubernetes/msb/charts/msb-consul/values.yaml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kubernetes/msb/charts/kube2msb/templates/deployment.yaml b/kubernetes/msb/charts/kube2msb/templates/deployment.yaml index 431387158d..c9911eb036 100644 --- a/kubernetes/msb/charts/kube2msb/templates/deployment.yaml +++ b/kubernetes/msb/charts/kube2msb/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/kube2msb/values.yaml b/kubernetes/msb/charts/kube2msb/values.yaml index d4ec088970..9ef85e52b5 100644 --- a/kubernetes/msb/charts/kube2msb/values.yaml +++ b/kubernetes/msb/charts/kube2msb/values.yaml @@ -13,7 +13,7 @@ global: repository: nexus3.onap.org:10001 image: onap/oom/kube2msb:1.1.0 pullPolicy: Always -istioSidecar: false +istioSidecar: true # application configuration config: diff --git a/kubernetes/msb/charts/msb-consul/values.yaml b/kubernetes/msb/charts/msb-consul/values.yaml index 80b86bf82c..b87cf8528a 100644 --- a/kubernetes/msb/charts/msb-consul/values.yaml +++ b/kubernetes/msb/charts/msb-consul/values.yaml @@ -11,7 +11,7 @@ global: dockerHubRepository: registry.hub.docker.com image: library/consul:0.9.3 pullPolicy: Always -istioSidecar: false +istioSidecar: true # application configuration config: {} -- cgit 1.2.3-korg