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 <[email protected]> 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 }}
