Implement runner controller

This commit is contained in:
Moto Ishizawa
2020-01-28 21:58:01 +09:00
parent cea4d084e4
commit aaf6b0bcae
7 changed files with 253 additions and 15 deletions

28
config/rbac/role.yaml Normal file
View File

@@ -0,0 +1,28 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: manager-role
rules:
- apiGroups:
- actions.summerwind.dev
resources:
- runners
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- actions.summerwind.dev
resources:
- runners/status
verbs:
- get
- patch
- update

View File

@@ -1,7 +1,6 @@
apiVersion: actions.summerwind.dev/v1alpha1
kind: Runner
metadata:
name: runner-sample
name: summerwind-actions-runner-controller
spec:
# Add fields here
foo: bar
repository: summerwind/actions-runner-controller

View File