fixup! wip: r/k8s-worker: Use K8s API to create join token
parent
5488c52169
commit
0df1a4d92d
|
@ -1,3 +1,6 @@
|
||||||
|
- name: flush handlers
|
||||||
|
meta: flush_handlers
|
||||||
|
|
||||||
- name: stat /var/lib/kubelet/config.yaml
|
- name: stat /var/lib/kubelet/config.yaml
|
||||||
stat:
|
stat:
|
||||||
path: /var/lib/kubelet/config.yaml
|
path: /var/lib/kubelet/config.yaml
|
||||||
|
@ -31,6 +34,7 @@
|
||||||
bootstrap_token_secret: >-
|
bootstrap_token_secret: >-
|
||||||
{{ lookup("password", "/dev/null length=16 chars=ascii_lowercase,digits") }}
|
{{ lookup("password", "/dev/null length=16 chars=ascii_lowercase,digits") }}
|
||||||
cacheable: false
|
cacheable: false
|
||||||
|
no_log: true
|
||||||
tags:
|
tags:
|
||||||
- bootstrap-token
|
- bootstrap-token
|
||||||
|
|
||||||
|
@ -57,6 +61,7 @@
|
||||||
usage-bootstrap-authentication: 'true'
|
usage-bootstrap-authentication: 'true'
|
||||||
usage-bootstrap-signing: 'true'
|
usage-bootstrap-signing: 'true'
|
||||||
auth-extra-groups: 'system:bootstrappers:kubeadm:default-node-token'
|
auth-extra-groups: 'system:bootstrappers:kubeadm:default-node-token'
|
||||||
|
no_log: true
|
||||||
tags:
|
tags:
|
||||||
- bootstrap-token
|
- bootstrap-token
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue