Skip to content

Commit 3769c3e

Browse files
authored
Merge pull request #92 from simplysoft/fix/cloudinit-lock-passwd
fix: serialization of lock_passwd
2 parents 3434f74 + 9d4e482 commit 3769c3e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

api/v1beta1/cloudinit_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type User struct {
5959
PrimaryGroup string `yaml:"primary_group,omitempty" json:"primary_group,omitempty"`
6060
Groups []string `yaml:"groups,omitempty" json:"groups,omitempty"`
6161
SELinuxUser string `yaml:"selinux_user,omitempty" json:"selinux_user,omitempty"`
62-
LockPasswd bool `yaml:"lock_passwd,omitempty" json:"lock_passwd,omitempty"`
62+
LockPasswd *bool `yaml:"lock_passwd,omitempty" json:"lock_passwd,omitempty"`
6363
// +kubebuilder:validation:Minimum:=0
6464
Inactive int `yaml:"inactive,omitempty" json:"inactive,omitempty"`
6565
Passwd string `yaml:"passwd,omitempty" json:"passwd,omitempty"`

api/v1beta1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)