commit | 81b8976007acce829ac5d4419319c35d4dbdadf1 | [log] [tgz] |
---|---|---|
author | Huabing Zhao <zhaohuabing@gmail.com> | Mon Jul 30 06:33:03 2018 +0000 |
committer | Huabing Zhao <zhaohuabing@gmail.com> | Mon Jul 30 06:44:57 2018 +0000 |
tree | 10c9871f949769a4b17db610b8b6ec0c1d1f0873 | |
parent | c07edcbcacb435b7d6fced04af3f67e2e9eeadc0 [diff] |
Enable Istio sidecar injection Change-Id: I0ec08fbbfa5e5949d7645493f7d1ce7237707a26 Issue-ID: MSB-226 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
diff --git a/kubernetes/msb/charts/msb-consul/templates/deployment.yaml b/kubernetes/msb/charts/msb-consul/templates/deployment.yaml index 74342e7..09a3d8f 100644 --- a/kubernetes/msb/charts/msb-consul/templates/deployment.yaml +++ b/kubernetes/msb/charts/msb-consul/templates/deployment.yaml
@@ -15,6 +15,8 @@ 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 0c7a508..b87cf85 100644 --- a/kubernetes/msb/charts/msb-consul/values.yaml +++ b/kubernetes/msb/charts/msb-consul/values.yaml
@@ -11,6 +11,7 @@ dockerHubRepository: registry.hub.docker.com image: library/consul:0.9.3 pullPolicy: Always +istioSidecar: true # application configuration config: {}