Align orleans on kuberneters rbac configuration with docs
- Dominant language
- C#
- Stars
- 10.9k
- Forks
- 2.1k
- Avg merge
- 14h 42m
- Merged PRs (30d)
- 354
Description
From the docs - https://learn.microsoft.com/en-us/dotnet/orleans/deployment/kubernetes
sample Role:
```yml
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: orleans-hosting
rules:
- apiGroups: [ "" ]
resources: ["pods"]
verbs: ["get", "watch", "list", "delete", "patch"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: orleans-hosting-binding
subjects:
- kind: ServiceAccount
name: default
apiGroup: ''
roleRef:
kind: Role
name: orleans-hosting
apiGroup: ''
```
from the code https://github.com/dotnet/orleans/blob/fe1578051828bf77b66ef18a558c9b406dea0add/src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs#L22-L45
the verb `delete` appears in the docs but not in the code example
Contributor guide
Assessment
This issue has not been assessed yet.