commit | 408a87d4f67b554bf18cd05ca816ae486567a651 | [log] [tgz] |
---|---|---|
author | Huabing Zhao <zhaohuabing@gmail.com> | Fri Aug 03 06:35:41 2018 +0000 |
committer | Huabing Zhao <zhaohuabing@gmail.com> | Fri Aug 03 06:35:46 2018 +0000 |
tree | d0672d5c66674f9deb7b6632c3f5a05258587ac7 | |
parent | c171ac2408cfac0171f36f9415cc16dc03bb95f1 [diff] |
Enable sidecar for kube2msb Issue-ID: MSB-226 Change-Id: I52e2047638cdf1d0471946ecbe508c451f765740 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
diff --git a/kubernetes/msb/charts/kube2msb/templates/deployment.yaml b/kubernetes/msb/charts/kube2msb/templates/deployment.yaml index 4313871..c9911eb 100644 --- a/kubernetes/msb/charts/kube2msb/templates/deployment.yaml +++ b/kubernetes/msb/charts/kube2msb/templates/deployment.yaml
@@ -15,6 +15,8 @@ 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 d4ec088..9ef85e5 100644 --- a/kubernetes/msb/charts/kube2msb/values.yaml +++ b/kubernetes/msb/charts/kube2msb/values.yaml
@@ -13,7 +13,7 @@ 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 80b86bf..b87cf85 100644 --- a/kubernetes/msb/charts/msb-consul/values.yaml +++ b/kubernetes/msb/charts/msb-consul/values.yaml
@@ -11,7 +11,7 @@ dockerHubRepository: registry.hub.docker.com image: library/consul:0.9.3 pullPolicy: Always -istioSidecar: false +istioSidecar: true # application configuration config: {}