Skip to content

Commit

Permalink
Revert node password complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
jknipper committed Aug 29, 2023
1 parent 74e0f62 commit e3562b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/ground.go
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,8 @@ func (op *GroundControl) createKluster(kluster *v1.Kluster) error {
}

//contains unamibious characters for generic random passwords
var randomPasswordChars = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890")
klusterSecret.NodePassword, err = goutils.Random(16, 0, 0, true, true, randomPasswordChars...)
var randomPasswordChars = []rune("abcdefghjkmnpqrstuvwxABCDEFGHJKLMNPQRSTUVWX23456789")
klusterSecret.NodePassword, err = goutils.Random(12, 0, 0, true, true, randomPasswordChars...)
if err != nil {
return fmt.Errorf("Failed to generate node password: %s", err)
}
Expand Down

0 comments on commit e3562b4

Please sign in to comment.