Skip to content

Commit 527ec07

Browse files
authored
fix: sa creation in github-actions-runners (#22)
1 parent 2f05012 commit 527ec07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/github-actions-runners/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: v2
22
name: github-actions-runners
33
description: A Helm chart for provisioning Github Actions runners
44
type: application
5-
version: 0.2.1
5+
version: 0.2.2
66
maintainers:
77
- name: SweetOps

charts/github-actions-runners/templates/serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{{- range .Values.runnerDeployments }}
2+
---
23
{{- $enabled := printf "%t" .enabled }}
34
{{- if regexMatch "nil" $enabled }}{{- $enabled = "true" }}{{- end }}
45
{{- if (eq $enabled "true") }}
56
{{- $serviceAccount := .serviceAccount | default dict }}
67
{{- $create := $serviceAccount.create | default $.Values.global.serviceAccount.create }}
78
{{- $annotations := $serviceAccount.annotations | default $.Values.global.serviceAccount.annotations }}
89
{{- if $create -}}
9-
---
1010
apiVersion: v1
1111
kind: ServiceAccount
1212
metadata:

0 commit comments

Comments
 (0)