32 lines
610 B
YAML
Executable File
32 lines
610 B
YAML
Executable File
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: tekton-dashboard-tutorial
|
|
rules:
|
|
- apiGroups:
|
|
- tekton.dev
|
|
resources:
|
|
- tasks
|
|
- taskruns
|
|
- pipelines
|
|
- pipelineruns
|
|
verbs:
|
|
- get
|
|
- create
|
|
- update
|
|
- patch
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: tekton-dashboard-tutorial
|
|
namespace: default
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: tekton-dashboard-tutorial
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: default
|
|
namespace: tekton-dashboard
|