Add support for giving kubernetes mode scaleset service account additional permissions (#4282)

This commit is contained in:
Marcus Ramberg
2025-11-21 14:56:08 +00:00
committed by GitHub
parent 837406ae01
commit cac7a40b70
3 changed files with 49 additions and 15 deletions

View File

@@ -0,0 +1,30 @@
githubConfigUrl: https://github.com/actions/actions-runner-controller
githubConfigSecret:
github_token: test
template:
spec:
containers:
- name: other
image: other-image:latest
volumes:
- name: foo
emptyDir: {}
- name: bar
emptyDir: {}
- name: work
hostPath:
path: /data
type: Directory
containerMode:
type: kubernetes
kubernetesModeAdditionalRoleRule:
- apiGroups:
- apps
resources:
- deployments
verbs:
- get
- list
- create
- delete