mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-14 18:30:02 +08:00
add the serviceAccount of deployment (#1543)
Co-authored-by: 977231903@qq.com <>
This commit is contained in:
@@ -17,7 +17,8 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{.Name}}
|
||||
spec:
|
||||
spec:{{if .ServiceAccount}}
|
||||
serviceAccountName: {{.ServiceAccount}}{{end}}
|
||||
containers:
|
||||
- name: {{.Name}}
|
||||
image: {{.Image}}
|
||||
|
||||
Reference in New Issue
Block a user