diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-05-14 04:10:08 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-05-14 04:10:08 +0200 |
commit | 3f2eae6e3d167c231805b88f9ec624c2f8d5b88c (patch) | |
tree | 3c0a014cd20b919e77c0c6bf4ea141dcaef0c8c3 /roles/kubernetes/kubeadm/control-plane/templates/kubeadm-init.config.j2 | |
parent | kubernetes: fix sanity checks (diff) |
kubernetes/kubeadm: nuke all bootstrap tokens on cluster-cleanup
Diffstat (limited to 'roles/kubernetes/kubeadm/control-plane/templates/kubeadm-init.config.j2')
-rw-r--r-- | roles/kubernetes/kubeadm/control-plane/templates/kubeadm-init.config.j2 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/roles/kubernetes/kubeadm/control-plane/templates/kubeadm-init.config.j2 b/roles/kubernetes/kubeadm/control-plane/templates/kubeadm-init.config.j2 index b58c4d02..9aba276c 100644 --- a/roles/kubernetes/kubeadm/control-plane/templates/kubeadm-init.config.j2 +++ b/roles/kubernetes/kubeadm/control-plane/templates/kubeadm-init.config.j2 @@ -2,10 +2,6 @@ {# #} apiVersion: kubeadm.k8s.io/v1beta3 kind: InitConfiguration -{# it's easier to extract the bootstap token from separate `kubeadm token create` call #} -{# so make sure the token created by init expires fast #} -bootstrapTokens: -- ttl: "1s" localAPIEndpoint: bindPort: 6442 {% if kubernetes_overlay_node_ip is defined %} |