diff --git a/content/en/docs/reference/config-api/kubeadm-config.v1beta2.md b/content/en/docs/reference/config-api/kubeadm-config.v1beta2.md index 95cc3161e0..77595b4599 100644 --- a/content/en/docs/reference/config-api/kubeadm-config.v1beta2.md +++ b/content/en/docs/reference/config-api/kubeadm-config.v1beta2.md @@ -721,7 +721,7 @@ for, so other administrators can know its purpose. expires [Required]
-meta/v1.Time +meta/v1.Time `expires` specifies the timestamp when this token expires. Defaults to being set @@ -1199,7 +1199,7 @@ HostPathMount contains elements describing volumes that are mounted from the hos pathType [Required]
-core/v1.HostPathType +core/v1.HostPathType `pathType` is the type of the `hostPath` volume. @@ -1451,7 +1451,7 @@ annotated to the Node API object, for later re-use. taints [Required]
-[]core/v1.Taint +[]core/v1.Taint `taints` specifies the taints the Node API object should be registered with. If diff --git a/content/en/docs/reference/config-api/kubeadm-config.v1beta3.md b/content/en/docs/reference/config-api/kubeadm-config.v1beta3.md index de72001368..0b64912a99 100644 --- a/content/en/docs/reference/config-api/kubeadm-config.v1beta3.md +++ b/content/en/docs/reference/config-api/kubeadm-config.v1beta3.md @@ -447,7 +447,7 @@ information. bootstrapTokens
-[]github.com/tengqm/kubeconfig/config/bootstraptoken/v1.BootstrapToken +[]BootstrapToken `bootstrapTokens` is respected at `kubeadm init` time and describes a set of Bootstrap Tokens to create. @@ -1070,7 +1070,7 @@ HostPathMount contains elements describing volumes that are mounted from the hos pathType
-core/v1.HostPathType +core/v1.HostPathType `pathType` is the type of the `hostPath` volume. @@ -1324,7 +1324,7 @@ annotated to the Node API object, for later re-use. taints [Required]
-[]core/v1.Taint +[]core/v1.Taint `taints` specifies the taints the Node API object should be registered with. If @@ -1359,7 +1359,7 @@ the current node is registered. imagePullPolicy
-core/v1.PullPolicy +core/v1.PullPolicy `imagePullPolicy` specifies the policy for image pulling during `kubeadm init` and @@ -1413,4 +1413,117 @@ first alpha-numerically. + +## `BootstrapToken` {#BootstrapToken} + +**Appears in:** + +- [InitConfiguration](#kubeadm-k8s-io-v1beta3-InitConfiguration) + + +BootstrapToken describes one bootstrap token, stored as a Secret in the cluster + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldDescription
token [Required]
+BootstrapTokenString +
+ `token` is used for establishing bidirectional trust between nodes and control-planes. +Used for joining nodes in the cluster.
description
+string +
+ `description` sets a human-friendly message why this token exists and what it's used +for, so other administrators can know its purpose.
ttl
+meta/v1.Duration +
+ `ttl` defines the time to live for this token. Defaults to `24h`. +`expires` and `ttl` are mutually exclusive.
expires
+meta/v1.Time +
+ `expires` specifies the timestamp when this token expires. Defaults to being set +dynamically at runtime based on the `ttl`. `expires` and `ttl` are mutually exclusive.
usages
+[]string +
+ `usages` describes the ways in which this token can be used. Can by default be used +for establishing bidirectional trust, but that can be changed here.
groups
+[]string +
+ `groups` specifies the extra groups that this token will authenticate as when/if +used for authentication
+ +## `BootstrapTokenString` {#BootstrapTokenString} + + + + +**Appears in:** + +- [BootstrapToken](#BootstrapToken) + + +BootstrapTokenString is a token of the format `abcdef.abcdef0123456789` that is used +for both validation of the practically of the API server from a joining node's point +of view and as an authentication method for the node in the bootstrap phase of +"kubeadm join". This token is and should be short-lived. + + + + + + + + + + + + + + + + + + +
FieldDescription
- [Required]
+string +
+ No description provided. +
- [Required]
+string +
+ No description provided. +