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 kind: Role
metadata: metadata:
name: {{ include "gha-runner-scale-set.kubeModeRoleName" . }} name: {{ include "gha-runner-scale-set.kubeModeRoleName" . }}
namespace: {{ include "gha-runner-scale-set.namespace" . }}
labels:
{{- with .Values.labels }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- if $hasCustomResourceMeta }} {{- if $hasCustomResourceMeta }}
@ -23,6 +26,7 @@ metadata:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- end }} {{- end }}
finalizers:
- actions.github.com/cleanup-protection - actions.github.com/cleanup-protection
rules: rules:
- apiGroups: [""] - apiGroups: [""]

View File

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