Create Service Account for MSB
Use a none default service account for MSB, so we can have different Istio auth policy for different service
Issue-ID: MSB-272
Change-Id: I38372660ab2787f9ee0b1b50d353ff0aee4a0246
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 09a3d8f..fb3a90a 100644
--- a/kubernetes/msb/charts/msb-consul/templates/deployment.yaml
+++ b/kubernetes/msb/charts/msb-consul/templates/deployment.yaml
@@ -18,6 +18,7 @@
annotations:
sidecar.istio.io/inject: "{{.Values.istioSidecar}}"
spec:
+ serviceAccountName: msb
containers:
- name: {{ include "common.name" . }}
image: "{{ .Values.global.dockerHubRepository | default .Values.dockerHubRepository }}/{{ .Values.image }}"