33 lines
734 B
YAML
33 lines
734 B
YAML
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: tekton-bot
|
|
namespace: j7s-ci
|
|
secrets:
|
|
- name: git-credentials
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: tekton-bot-eventlistener-binding
|
|
namespace: j7s-ci
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: tekton-bot
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: tekton-triggers-eventlistener-roles
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: tekton-bot-eventlistener-clusterbinding
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: tekton-bot
|
|
namespace: j7s-ci
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: tekton-triggers-eventlistener-clusterroles |