Skip to content

Commit

Permalink
docs: add rbac for kubernetes
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Dec 13, 2023
1 parent 56c92d3 commit af4ef55
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/kubernetes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Kubernetes

## RBAC

```yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: ancientt
rules:
# To create the `ancientt` namespace
- apiGroups: [""]
resources: ["namespaces"]
verbs:
- get
- create
# To get/list, create and delete test runner pods
- apiGroups: [""]
resources: ["pods"]
verbs:
- get
- list
- create
- delete
# Selecting the nodes
- apiGroups: [""]
resources: ["nodes"]
verbs:
- get
- list
```

0 comments on commit af4ef55

Please sign in to comment.