mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 03:57:01 +00:00
Update CRD validation and RBAC
This commit is contained in:
@@ -39,6 +39,8 @@ spec:
|
||||
image:
|
||||
type: string
|
||||
repository:
|
||||
minLength: 3
|
||||
pattern: ^[^/]+/[^/]+$
|
||||
type: string
|
||||
required:
|
||||
- repository
|
||||
|
||||
@@ -1,2 +1,8 @@
|
||||
resources:
|
||||
- manager.yaml
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
images:
|
||||
- name: controller
|
||||
newName: summerwind/actions-runner-controller
|
||||
newTag: latest
|
||||
|
||||
@@ -26,3 +26,12 @@ rules:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pod
|
||||
verbs:
|
||||
- delete
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
|
||||
Reference in New Issue
Block a user