aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/etcd-init/templates/job.yaml
diff options
context:
space:
mode:
authorMicha? Jagie??o <michal.jagiello@t-mobile.pl>2023-08-08 07:55:47 +0000
committerGerrit Code Review <gerrit@onap.org>2023-08-08 07:55:47 +0000
commit166f4a318ca9112573c1fe5d0b55060507c9028e (patch)
tree7e347d7c2743806492f465cf322762a26fc84cb3 /kubernetes/common/etcd-init/templates/job.yaml
parent38677306a64d7aab6154d76972310c3fc38b36d7 (diff)
parentd804418c890dde93bff26125b8cf1a9fd7fc82d1 (diff)
Merge "[OOM] Fixing k8s ServiceAccounts"
Diffstat (limited to 'kubernetes/common/etcd-init/templates/job.yaml')
-rw-r--r--kubernetes/common/etcd-init/templates/job.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/etcd-init/templates/job.yaml b/kubernetes/common/etcd-init/templates/job.yaml
index 4b8e2e5fdd..a517264d57 100644
--- a/kubernetes/common/etcd-init/templates/job.yaml
+++ b/kubernetes/common/etcd-init/templates/job.yaml
@@ -98,6 +98,7 @@ spec:
{{- if .Values.affinity }}
affinity: {{ toYaml .Values.affinity | nindent 10 }}
{{- end }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- name: localtime
hostPath: