瀏覽代碼

service accounts names fixed (#15)

Tomasz Wielga 4 年之前
父節點
當前提交
fb4ac0af1e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      flink/templates/_config.tpl

+ 2 - 2
flink/templates/_config.tpl

@@ -2,14 +2,14 @@
 ServiceAccount for Jobmanager
 */}}
 {{- define "jobmanager.serviceAccount" -}}
-{{ default "jobmanager" .Values.jobmanager.serviceAccount.name }}
+{{ default ( printf "%s-jobmanager" ( include "flink.fullname" . ) ) .Values.jobmanager.serviceAccount.name }}
 {{- end -}}
 
 {{/*
 ServiceAccount for Taskmanager
 */}}
 {{- define "taskmanager.serviceAccount" -}}
-{{ default "taskmanager" .Values.taskmanager.serviceAccount.name }}
+{{ default ( printf "%s-taskmanager" ( include "flink.fullname" . ) ) .Values.taskmanager.serviceAccount.name }}
 {{- end -}}
 
 {{/*