kubeadm: fix "eliptic" typo in API package

Should be "elliptic".
This commit is contained in:
Lubomir I. Ivanov 2023-10-17 12:16:03 +03:00
parent 86676bce04
commit a45a813d5e
3 changed files with 3 additions and 3 deletions

View File

@ -141,7 +141,7 @@ type ClusterConfiguration struct {
ClusterName string
// EncryptionAlgorithm holds the type of asymmetric encryption algorithm used for keys and certificates.
// Can be "RSA" (default algorithm, key size is 2048) or "ECDSA" (uses the P-256 eliptic curve).
// Can be "RSA" (default algorithm, key size is 2048) or "ECDSA" (uses the P-256 elliptic curve).
EncryptionAlgorithm EncryptionAlgorithmType
}

View File

@ -34,7 +34,7 @@ limitations under the License.
// `Scheduler.ExtraArgs`, `Etcd.Local.ExtraArgs`. Also to `NodeRegistrationOptions.KubeletExtraArgs`.
// - Add `ClusterConfiguration.EncryptionAlgorithm` that can be used to set the asymmetric encryption algorithm
// used for this cluster's keys and certificates. Can be "RSA" (default algorithm, key size is 2048) or
// "ECDSA" (uses the P-256 eliptic curve).
// "ECDSA" (uses the P-256 elliptic curve).
//
// Migration from old kubeadm config versions
//

View File

@ -142,7 +142,7 @@ type ClusterConfiguration struct {
ClusterName string `json:"clusterName,omitempty"`
// EncryptionAlgorithm holds the type of asymmetric encryption algorithm used for keys and certificates.
// Can be "RSA" (default algorithm, key size is 2048) or "ECDSA" (uses the P-256 eliptic curve).
// Can be "RSA" (default algorithm, key size is 2048) or "ECDSA" (uses the P-256 elliptic curve).
// +optional
EncryptionAlgorithm EncryptionAlgorithmType `json:"encryptionAlgorithm,omitempty"`
}