You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/05/17 09:57:32 UTC
[skywalking-kubernetes] 01/01: Add service account to init job
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch add-sa-to-init-job
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git
commit 9397853f101f1e339fdc2d8fd8913da1e0db9d1c
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon May 17 17:57:14 2021 +0800
Add service account to init job
---
chart/skywalking/templates/es-init.job.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/chart/skywalking/templates/es-init.job.yaml b/chart/skywalking/templates/es-init.job.yaml
index 2266b3c..4cc29d6 100644
--- a/chart/skywalking/templates/es-init.job.yaml
+++ b/chart/skywalking/templates/es-init.job.yaml
@@ -35,6 +35,7 @@ spec:
component: "{{ template "skywalking.fullname" . }}-job"
release: {{ .Release.Name }}
spec:
+ serviceAccountName: {{ template "skywalking.serviceAccountName.oap" . }}
{{- if .Values.esInit.nodeAffinity }}
affinity:
{{- end }}