diff options
author | 2021-10-11 13:48:11 +0200 | |
---|---|---|
committer | 2021-10-27 14:27:03 +0000 | |
commit | a4478e8a3cbed645ef4a92c6157935bb2261963c (patch) | |
tree | 5f08a9284553b5558f5ea597d0844cff86800307 /kubernetes/msb/components/msb-consul/templates/deployment.yaml | |
parent | 2c2be1eea53e97cc1972c0b89571baff92e59484 (diff) |
[MSB] Update chart with service account
Add service account to requirements, values and deployment/statefulset
Issue-ID: OOM-2861
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: I6670bde473aef92399acd35b1efbfd4743438ef6
Diffstat (limited to 'kubernetes/msb/components/msb-consul/templates/deployment.yaml')
-rw-r--r-- | kubernetes/msb/components/msb-consul/templates/deployment.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/msb/components/msb-consul/templates/deployment.yaml b/kubernetes/msb/components/msb-consul/templates/deployment.yaml index 97dd1781f2..d03829d89d 100644 --- a/kubernetes/msb/components/msb-consul/templates/deployment.yaml +++ b/kubernetes/msb/components/msb-consul/templates/deployment.yaml @@ -36,7 +36,6 @@ spec: annotations: sidecar.istio.io/inject: "{{.Values.istioSidecar}}" spec: - serviceAccountName: msb containers: - name: {{ include "common.name" . }} image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }} @@ -85,6 +84,7 @@ spec: affinity: {{ toYaml .Values.affinity | indent 10 }} {{- end }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - name: localtime hostPath: |