This commit is contained in:
Jesús Fernández 2025-03-07 13:49:02 +01:00
parent 9bd284fb7b
commit 319962a30a
No known key found for this signature in database
GPG Key ID: F009C46F547D9A66
2 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "gha-runner-scale-set.kubeModeRoleName" . }}
namespace: {{ include "gha-runner-scale-set.namespace" . }}
labels:
{{- with .Values.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if $hasCustomResourceMeta }}
@ -23,6 +26,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
finalizers:
- actions.github.com/cleanup-protection
rules:
- apiGroups: [""]

View File

@ -5,6 +5,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "gha-runner-scale-set.kubeModeServiceAccountName" . }}
namespace: {{ include "gha-runner-scale-set.namespace" . }}
{{- if or .Values.annotations $hasCustomResourceMeta }}
annotations:
{{- with .Values.annotations }}