Merge pull request #2444 from chadswen/system-node-crb-name

Prefix system:node CRB
This commit is contained in:
Spencer Smith 2018-03-09 15:09:01 -05:00 committed by GitHub
commit 5c4cfb54ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@
- name: Apply workaround to allow all nodes with cert O=system:nodes to register
kube:
name: "system:node"
name: "kubespray:system:node"
kubectl: "{{bin_dir}}/kubectl"
resource: "clusterrolebinding"
filename: "{{ kube_config_dir }}/node-crb.yml"

View file

@ -6,7 +6,7 @@ metadata:
rbac.authorization.kubernetes.io/autoupdate: "true"
labels:
kubernetes.io/bootstrapping: rbac-defaults
name: system:node
name: kubespray:system:node
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole