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