You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2021/05/17 11:15:20 UTC

[skywalking-kubernetes] branch master updated: Add service account to init job (#71)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new d12977c  Add service account to init job (#71)
d12977c is described below

commit d12977c93d1e01e7d56724e35dbca54d3a296a4b
Author: Zhenxu Ke <ke...@apache.org>
AuthorDate: Mon May 17 19:15:11 2021 +0800

    Add service account to init job (#71)
---
 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 }}