summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/charts/kube2msb
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/msb/charts/kube2msb')
-rw-r--r--kubernetes/msb/charts/kube2msb/templates/deployment.yaml3
-rw-r--r--kubernetes/msb/charts/kube2msb/values.yaml1
2 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/msb/charts/kube2msb/templates/deployment.yaml b/kubernetes/msb/charts/kube2msb/templates/deployment.yaml
index 431387158d..78361a7a71 100644
--- a/kubernetes/msb/charts/kube2msb/templates/deployment.yaml
+++ b/kubernetes/msb/charts/kube2msb/templates/deployment.yaml
@@ -15,7 +15,10 @@ spec:
labels:
app: {{ include "common.name" . }}
release: {{ .Release.Name }}
+ annotations:
+ sidecar.istio.io/inject: "{{.Values.istioSidecar}}"
spec:
+ serviceAccountName: msb
initContainers:
- command:
- /root/ready.py
diff --git a/kubernetes/msb/charts/kube2msb/values.yaml b/kubernetes/msb/charts/kube2msb/values.yaml
index 1d334508bf..9ef85e52b5 100644
--- a/kubernetes/msb/charts/kube2msb/values.yaml
+++ b/kubernetes/msb/charts/kube2msb/values.yaml
@@ -13,6 +13,7 @@ global:
repository: nexus3.onap.org:10001
image: onap/oom/kube2msb:1.1.0
pullPolicy: Always
+istioSidecar: true
# application configuration
config: