Skip to content

Commit

Permalink
fix: sa creation in github-actions-runners (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
SweetOps authored Apr 14, 2022
1 parent 2f05012 commit 527ec07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/github-actions-runners/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
name: github-actions-runners
description: A Helm chart for provisioning Github Actions runners
type: application
version: 0.2.1
version: 0.2.2
maintainers:
- name: SweetOps
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{{- range .Values.runnerDeployments }}
---
{{- $enabled := printf "%t" .enabled }}
{{- if regexMatch "nil" $enabled }}{{- $enabled = "true" }}{{- end }}
{{- if (eq $enabled "true") }}
{{- $serviceAccount := .serviceAccount | default dict }}
{{- $create := $serviceAccount.create | default $.Values.global.serviceAccount.create }}
{{- $annotations := $serviceAccount.annotations | default $.Values.global.serviceAccount.annotations }}
{{- if $create -}}
---
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down

0 comments on commit 527ec07

Please sign in to comment.