mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-07-25 00:11:46 +00:00
fix: rbac
This commit is contained in:
@@ -5,6 +5,8 @@ namespace: jambonz
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- rbac/role.yaml
|
||||
- rbac/role-binding.yaml
|
||||
- db/db-create.yaml
|
||||
- influxdb/influxdb-service.yaml
|
||||
- influxdb/influxdb-statefulset.yaml
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: default-binding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: view-jobs
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: default
|
||||
@@ -0,0 +1,16 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: view-jobs
|
||||
rules:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- cronjobs
|
||||
- cronjobs/status
|
||||
- jobs
|
||||
- jobs/status
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
Reference in New Issue
Block a user