dotnet / dotnet/orleans

Align orleans on kuberneters rbac configuration with docs

Open
#9,637 3 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.