summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-10-11 12:48:36 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-11 12:48:36 +0000
commit05da03322b0a0539e85819bd84cffd2c7a9c3c1e (patch)
tree8cd8cdb71703e47547e21ebd3a955793c30cd65c /kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
parent612e372f07c1a828768930b674f5b27f66449dea (diff)
parentcb03ac723eb2f107f3264038cfc99e5a73b525ff (diff)
Merge "[DCAEGEN2-SERVICES] Update chart with service account"
Diffstat (limited to 'kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl')
-rw-r--r--kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
index 6be03de27b..dd0bf4bd48 100644
--- a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
+++ b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
@@ -432,6 +432,7 @@ spec:
{{- end }}
{{- end }}
hostname: {{ include "common.name" . }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- configMap:
defaultMode: 420