DerekHeldtWerle commented on a change in pull request #14152:
URL: https://github.com/apache/airflow/pull/14152#discussion_r573929464



##########
File path: chart/templates/_helpers.yaml
##########
@@ -361,6 +387,105 @@ server_tls_key_file = /etc/pgbouncer/server.key
 {{ (printf "%s-airflow-config" .Release.Name) }}
 {{- end }}
 
+{{/*
+Create the name of the webserver service account to use
+*/}}
+{{- define "webserver.serviceAccountName" -}}
+{{- if .Values.webserver.serviceAccount.create -}}
+    {{ default (printf "%s-webserver" (include "airflow.fullname" .)) 
.Values.webserver.serviceAccount.name }}
+{{- else -}}
+    {{ default "default" .Values.webserver.serviceAccount.name }}
+{{- end -}}
+{{- end -}}

Review comment:
       That's admittedly something I haven't seen before in other charts that 
create multiple service accounts, but that's not to say it isn't possible. I 
can look around, but I'm not too sure if its supported or not. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to