binding group system:nodes to clusterrole calico-role

This commit is contained in:
jwfang
2017-07-07 15:43:48 +08:00
parent c9734b6d7b
commit 2cda982345
5 changed files with 49 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: calico-node
namespace: {{ system_namespace }}
rules:
- apiGroups: [""]
resources:
- pods
- nodes
verbs:
- get