Skip to content
Snippets Groups Projects
Commit 2673bd54 authored by Sören Henning's avatar Sören Henning
Browse files

Add RBAC resources

parent 8073f677
No related branches found
No related tags found
No related merge requests found
Pipeline #1262 passed
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: theodolite
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: theodolite
subjects:
- kind: ServiceAccount
name: theodolite
\ No newline at end of file
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: theodolite
rules:
- apiGroups:
- apps
resources:
- deployments
verbs:
- delete
- list
- get
- create
- apiGroups:
- ""
resources:
- services
- pods
- servicemonitors
- configmaps
verbs:
- delete
- list
- get
- create
- apiGroups:
- ""
resources:
- pods/exec
verbs:
- create
- get
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- delete
- list
- create
\ No newline at end of file
apiVersion: v1
kind: ServiceAccount
metadata:
name: theodolite
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment