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
|
||||
stat:
|
||||
path: /var/lib/kubelet/config.yaml
|
||||
|
@ -31,6 +34,7 @@
|
|||
bootstrap_token_secret: >-
|
||||
{{ lookup("password", "/dev/null length=16 chars=ascii_lowercase,digits") }}
|
||||
cacheable: false
|
||||
no_log: true
|
||||
tags:
|
||||
- bootstrap-token
|
||||
|
||||
|
@ -57,6 +61,7 @@
|
|||
usage-bootstrap-authentication: 'true'
|
||||
usage-bootstrap-signing: 'true'
|
||||
auth-extra-groups: 'system:bootstrappers:kubeadm:default-node-token'
|
||||
no_log: true
|
||||
tags:
|
||||
- bootstrap-token
|
||||
|
||||
|
|
Loading…
Reference in New Issue