Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 53a41e4

Browse files
committed
fixup! feat: Add user configuration for all providers
Update type comments
1 parent a3e7db0 commit 53a41e4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

api/v1alpha1/clusterconfig_types.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -365,20 +365,21 @@ type User struct {
365365
// Name specifies the user name.
366366
Name string `json:"name"`
367367

368-
// HashedPassword specifies a hashed password for the user. See your
369-
// distribution's documentation for instructions to create a hashed
370-
// password.
368+
// HashedPassword is a hashed password for the user, formatted as described
369+
// by the crypt(5) man page. See your distribution's documentation for
370+
// instructions to create a hashed password.
371371
// An empty string is not marshalled, because it is not a valid value.
372372
// +optional
373373
HashedPassword string `json:"hashedPassword,omitempty"`
374374

375-
// SSHAuthorizedKeys specifies a list of public SSH keys to write to the
375+
// SSHAuthorizedKeys is a list of public SSH keys to write to the
376376
// machine. Use the corresponding private SSH keys to authenticate. See SSH
377377
// documentation for instructions to create a key pair.
378378
// +optional
379379
SSHAuthorizedKeys []string `json:"sshAuthorizedKeys,omitempty"`
380380

381-
// Sudo specifies a sudo role for the user.
381+
// Sudo is a sudo user specification, formatted as described in the sudo
382+
// documentation.
382383
// An empty string is not marshalled, because it is not a valid value.
383384
// +optional
384385
Sudo string `json:"sudo,omitempty"`

0 commit comments

Comments
 (0)