32 lines
849 B
YAML
32 lines
849 B
YAML
# Scoped operator access for llm-admins: the 4 predictor Deployments only -
|
|||
|
|
# no configmap/secret exists in this namespace today. Inert until
|
||
|
|
# kube-apiserver's OIDC wiring lands.
|
||
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
|
kind: Role
|
||
|
|
metadata:
|
||
|
|
name: llm-serving-operator
|
||
|
|
namespace: llm-serving
|
||
|
|
rules:
|
||
|
|
- apiGroups: ["apps"]
|
||
|
|
resources: ["deployments"]
|
||
|
|
resourceNames:
|
||
|
|
- reasoning-predictor
|
||
|
|
- ornith-predictor
|
||
|
|
- embeddings-predictor
|
||
|
|
- reranker-predictor
|
||
|
|
verbs: ["get", "list", "watch", "update", "patch"]
|
||
|
|
---
|
||
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
|
kind: RoleBinding
|
||
|
|
metadata:
|
||
|
|
name: llm-admins-binding
|
||
|
|
namespace: llm-serving
|
||
|
|
subjects:
|
||
|
|
- kind: Group
|
||
|
|
name: "oidc:llm-admins"
|
||
|
|
apiGroup: rbac.authorization.k8s.io
|
||
|
|
roleRef:
|
||
|
|
kind: Role
|
||
|
|
name: llm-serving-operator
|
||
|
|
apiGroup: rbac.authorization.k8s.io
|