netflux-kubernetes/deploy/base/role-drone-runner.yaml

28 lines
336 B
YAML

kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: default
name: drone-runner
labels:
app: drone
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- apiGroups:
- ""
resources:
- pods
- pods/log
verbs:
- get
- create
- delete
- list
- watch
- update