1 changed files with 31 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||||||
|
kind: Role |
||||||
|
apiVersion: rbac.authorization.k8s.io/v1 |
||||||
|
metadata: |
||||||
|
labels: |
||||||
|
app.kubernetes.io/component: tekton |
||||||
|
name: osh-wrapper-tekton |
||||||
|
namespace: pct-security-tooling |
||||||
|
rules: |
||||||
|
- apiGroups: |
||||||
|
- tekton.dev |
||||||
|
resources: |
||||||
|
- taskruns |
||||||
|
- pipelineruns |
||||||
|
verbs: |
||||||
|
- create |
||||||
|
- get |
||||||
|
- watch |
||||||
|
- list |
||||||
|
--- |
||||||
|
kind: RoleBinding |
||||||
|
apiVersion: rbac.authorization.k8s.io/v1 |
||||||
|
metadata: |
||||||
|
name: osh-wrapper-tekton-rolebinding |
||||||
|
namespace: pct-security-tooling |
||||||
|
roleRef: |
||||||
|
apiGroup: rbac.authorization.k8s.io |
||||||
|
kind: Role |
||||||
|
name: osh-wrapper-tekton |
||||||
|
subjects: |
||||||
|
- kind: ServiceAccount |
||||||
|
name: osh-wrapper-client-sa |
||||||
Loading…
Reference in new issue