From 0b44750ab91720823c852280d028a9097a61dc94 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Tue, 28 Jun 2022 12:12:29 +0800 Subject: [PATCH] kubeadm: update join --discovery-file docs(support tokenfile authProvider and exec) --- cmd/kubeadm/app/cmd/join.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/kubeadm/app/cmd/join.go b/cmd/kubeadm/app/cmd/join.go index 720be019653..d1e347ee65d 100644 --- a/cmd/kubeadm/app/cmd/join.go +++ b/cmd/kubeadm/app/cmd/join.go @@ -86,8 +86,10 @@ var ( There are 2 main schemes for discovery. The first is to use a shared token along with the IP address of the API server. The second is to - provide a file - a subset of the standard kubeconfig file. This file - can be a local file or downloaded via an HTTPS URL. The forms are + provide a file - a subset of the standard kubeconfig file. The + discovery/kubeconfig file supports token, client-go authentication + plugins ("exec"), "tokenFile", and "authProvider". This file can be a + local file or downloaded via an HTTPS URL. The forms are kubeadm join --discovery-token abcdef.1234567890abcdef 1.2.3.4:6443, kubeadm join --discovery-file path/to/file.conf, or kubeadm join --discovery-file https://url/file.conf. Only one form can be used. If