resources: - pods verbs: - get - list - update

    • resources:权限的对象,这里是 pods
    • verbs:对 pods 的权限

      apiGroups: [“”] #里面为空,为核心的api组,常用的资源都在核心组里面

    1. resources: [“pods”]
    2. verbs: [“get”, “watch”, “list”] #资源操作方法