Skip to content

Commit 302b4e4

Browse files
authored
Merge pull request #1956 from jdef/patch-3
🐛 passwd is omitempty because it's optional
2 parents f38f44a + 4c5edd4 commit 302b4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap/kubeadm/api/v1alpha3/kubeadmbootstrapconfig_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ type User struct {
184184

185185
// Passwd specifies a hashed password for the user
186186
// +optional
187-
Passwd *string `json:"passwd"`
187+
Passwd *string `json:"passwd,omitempty"`
188188

189189
// PrimaryGroup specifies the primary group for the user
190190
// +optional

0 commit comments

Comments
 (0)