summaryrefslogtreecommitdiffstats
path: root/kubernetes/a1policymanagement/templates
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-09-27 20:57:13 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-09-28 22:20:08 +0000
commit7fe88978fd7e65e140b7f763845c15157157dc58 (patch)
tree0b2017673245aa970687c87e2aebbb0320d45c47 /kubernetes/a1policymanagement/templates
parentc0b13946807650240cff7e77670becc7ddf06aa6 (diff)
[A1POLICYMANAGEMENT] Update chart with service account
Add service account to requirements, values and deployment/statefulset. Issue-ID: OOM-2844 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I06c320e8bcf0f98fe65d31f4508177bd5d40a27d
Diffstat (limited to 'kubernetes/a1policymanagement/templates')
-rw-r--r--kubernetes/a1policymanagement/templates/statefulset.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/a1policymanagement/templates/statefulset.yaml b/kubernetes/a1policymanagement/templates/statefulset.yaml
index 54ee1515bc..1d25f31e7f 100644
--- a/kubernetes/a1policymanagement/templates/statefulset.yaml
+++ b/kubernetes/a1policymanagement/templates/statefulset.yaml
@@ -106,6 +106,7 @@ spec:
- name: {{ include "common.fullname" . }}
mountPath: "/var/policy-management-service/database"
resources: {{ include "common.resources" . | nindent 10 }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes: {{ include "common.certInitializer.volumes" . | nindent 8 }}
- name: {{ include "common.fullname" . }}-policy-conf-input
configMap: