- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BootstrapTokenToSecret (0.18 sec)
-
cmd/kubeadm/app/phases/bootstraptoken/node/token.go
if secret != nil && err == nil && failIfExists { return errors.Errorf("a token with id %q already exists", token.Token.ID) } updatedOrNewSecret := bootstraptokenv1.BootstrapTokenToSecret(&token) var lastError error err = wait.PollUntilContextTimeout( context.Background(), kubeadmconstants.KubernetesAPICallRetryInterval, kubeadmapi.GetActiveTimeouts().KubernetesAPICall.Duration,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go
return NewBootstrapTokenString(bootstraputil.TokenFromIDAndSecret(id, secret)) } // BootstrapTokenToSecret converts the given BootstrapToken object to its Secret representation that // may be submitted to the API Server in order to be stored. func BootstrapTokenToSecret(bt *BootstrapToken) *v1.Secret { return &v1.Secret{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 26 15:51:39 UTC 2023 - 8.3K bytes - Viewed (0)