This commit is contained in:
Andrej van der Zee 2025-03-17 17:43:50 +08:00 committed by GitHub
commit 8ffd77e3c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,9 @@ kind: ClusterRoleBinding
{{- end }}
metadata:
name: {{ include "actions-runner-controller.managerRoleName" . }}-secrets
{{- if .Values.scope.singleNamespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
roleRef:
apiGroup: rbac.authorization.k8s.io
{{- if .Values.scope.singleNamespace }}

View File

@ -7,6 +7,9 @@ kind: ClusterRole
metadata:
creationTimestamp: null
name: {{ include "actions-runner-controller.managerRoleName" . }}-secrets
{{- if .Values.scope.singleNamespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
rules:
- apiGroups:
- ""
@ -21,4 +24,4 @@ rules:
{{/* See https://github.com/actions/actions-runner-controller/pull/1268/files#r917331632 */}}
- create
- delete
{{- end }}
{{- end }}