mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
25 lines
436 B
YAML
25 lines
436 B
YAML
kind: ClusterRole
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: pods-list
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["pods", "events"]
|
|
verbs: ["list", "get", "watch"]
|
|
|
|
---
|
|
|
|
kind: ClusterRoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: pods-list
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: default
|
|
namespace: milvus
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: pods-list
|
|
apiGroup: rbac.authorization.k8s.io
|
|
---
|