Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
ef827b2c69
commit
145721146e
35 changed files with 919 additions and 122 deletions
26
apps/tekton/pac-role.yaml
Normal file
26
apps/tekton/pac-role.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: pac-task-reader
|
||||
namespace: cicd
|
||||
rules:
|
||||
- apiGroups: ["tekton.dev"]
|
||||
resources: ["tasks"]
|
||||
verbs: ["get", "list"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: pac-controller-cicd-access
|
||||
namespace: cicd
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: pac-task-reader
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: pipelines-as-code-controller
|
||||
namespace: pipelines-as-code
|
||||
- kind: ServiceAccount
|
||||
name: tekton-pipelines-resolvers
|
||||
namespace: tekton-pipelines
|
||||
Loading…
Add table
Add a link
Reference in a new issue