summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/charts/msb-discovery
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/msb/charts/msb-discovery')
-rw-r--r--kubernetes/msb/charts/msb-discovery/templates/deployment.yaml2
-rw-r--r--kubernetes/msb/charts/msb-discovery/values.yaml1
2 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/msb/charts/msb-discovery/templates/deployment.yaml b/kubernetes/msb/charts/msb-discovery/templates/deployment.yaml
index aec03b0b3f..967e0e9bb7 100644
--- a/kubernetes/msb/charts/msb-discovery/templates/deployment.yaml
+++ b/kubernetes/msb/charts/msb-discovery/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/msb-discovery/values.yaml b/kubernetes/msb/charts/msb-discovery/values.yaml
index 3c690ddef5..c3f5fdfad6 100644
--- a/kubernetes/msb/charts/msb-discovery/values.yaml
+++ b/kubernetes/msb/charts/msb-discovery/values.yaml
@@ -13,6 +13,7 @@ global:
repository: nexus3.onap.org:10001
image: onap/msb/msb_discovery:1.1.0
pullPolicy: Always
+istioSidecar: true
# application configuration
config: {}