mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
753c2ff906
* [skip ci](shards): update kubernetes related Signed-off-by: peng.xu <peng.xu@zilliz.com> * [skip ci](shards): add pending buff in kubernetes provider Signed-off-by: peng.xu <peng.xu@zilliz.com> * [skip ci](shards): some bug fix in k8s provider Signed-off-by: peng.xu <peng.xu@zilliz.com> * [skip ci](shards): update log Signed-off-by: peng.xu <peng.xu@zilliz.com> * [skip ci](shards): update k8s config Signed-off-by: peng.xu <peng.xu@zilliz.com> * [skip ci](shards): update Makefile Signed-off-by: peng.xu <peng.xu@zilliz.com>
25 lines
438 B
YAML
25 lines
438 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: mishards
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: pods-list
|
|
apiGroup: rbac.authorization.k8s.io
|
|
---
|