mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com> Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
16 lines
543 B
YAML
16 lines
543 B
YAML
{{- if .Values.githubWebhookServer.enabled -}}
|
|
{{- if .Values.githubWebhookServer.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "actions-runner-controller-github-webhook-server.serviceAccountName" . }}
|
|
namespace: {{ include "actions-runner-controller.namespace" . }}
|
|
labels:
|
|
{{- include "actions-runner-controller.labels" . | nindent 4 }}
|
|
{{- with .Values.githubWebhookServer.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|