Set token TTL to 0 (no expire) for external etcd

This commit is contained in:
Pearl Dsilva 2024-09-05 12:07:06 -04:00 committed by nvazquez
parent 43d2131901
commit e7884b3739
No known key found for this signature in database
GPG Key ID: 656E1BCC8CB54F84
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ write_files:
kind: InitConfiguration
bootstrapTokens:
- token: "{{ k8s_control_node.cluster.token }}"
ttl: 0
nodeRegistration:
criSocket: /run/containerd/containerd.sock
localAPIEndpoint: