定义角色
拥有查询pods、deployments的权限
YAML
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: itnotebooks
name: fireye
rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["get...
3-14 6 views
定义角色
拥有查询pods、deployments的权限
YAML
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name...