Merge pull request #2444 from chadswen/system-node-crb-name
Prefix system:node CRB
This commit is contained in:
commit
5c4cfb54ae
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
- name: Apply workaround to allow all nodes with cert O=system:nodes to register
|
- name: Apply workaround to allow all nodes with cert O=system:nodes to register
|
||||||
kube:
|
kube:
|
||||||
name: "system:node"
|
name: "kubespray:system:node"
|
||||||
kubectl: "{{bin_dir}}/kubectl"
|
kubectl: "{{bin_dir}}/kubectl"
|
||||||
resource: "clusterrolebinding"
|
resource: "clusterrolebinding"
|
||||||
filename: "{{ kube_config_dir }}/node-crb.yml"
|
filename: "{{ kube_config_dir }}/node-crb.yml"
|
||||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
||||||
rbac.authorization.kubernetes.io/autoupdate: "true"
|
rbac.authorization.kubernetes.io/autoupdate: "true"
|
||||||
labels:
|
labels:
|
||||||
kubernetes.io/bootstrapping: rbac-defaults
|
kubernetes.io/bootstrapping: rbac-defaults
|
||||||
name: system:node
|
name: kubespray:system:node
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
Loading…
Reference in a new issue