aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/charts/msb-consul
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/msb/charts/msb-consul')
-rw-r--r--kubernetes/msb/charts/msb-consul/templates/deployment.yaml2
-rw-r--r--kubernetes/msb/charts/msb-consul/values.yaml1
2 files changed, 3 insertions, 0 deletions
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: {}