++
This commit is contained in:
parent
11fbf26d6d
commit
9a8a80328a
@ -4,6 +4,7 @@ kind: Kustomization
|
||||
namespace: processing
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- rbac.yaml
|
||||
- api.yaml
|
||||
- engine-low.yaml
|
||||
- engine.yaml
|
||||
|
||||
33
apps/processing/base/rbac.yaml
Normal file
33
apps/processing/base/rbac.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: processing-jobs
|
||||
namespace: processing
|
||||
rules:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- jobs
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- update
|
||||
- patch
|
||||
- delete
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: processing-jobs
|
||||
namespace: processing
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: processing-vault
|
||||
namespace: processing
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: processing-jobs
|
||||
Loading…
Reference in New Issue
Block a user