Skip to content

Commit

Permalink
Remove masterUserPasswordSecretRef as a required attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Lopez <alcaraz1983@gmail.com>
  • Loading branch information
loalf committed Feb 22, 2023
1 parent f0163fa commit 1bf7f80
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apis/rds/v1alpha1/custom_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,15 @@ type CustomDBClusterParameters struct {

// The password for the master database user. This password can contain any
// printable ASCII character except "/", """, or "@".
//
// This parameter will be required in the following scenarios:
// - The first cluster for a global Aurora cluster
// - Any cluster as long as it doesn't belong to a global Aurora cluster
//
// It won't be required when trying to attach a secondary regional cluster to an existing global cluster.
//
// Constraints: Must contain from 8 to 41 characters. Required.
MasterUserPasswordSecretRef *xpv1.SecretKeySelector `json:"masterUserPasswordSecretRef"`
// Constraints: Must contain from 8 to 41 characters.
MasterUserPasswordSecretRef *xpv1.SecretKeySelector `json:"masterUserPasswordSecretRef,omitempty"`

// A list of VPC security groups that the DB cluster will belong to.
//
Expand Down

0 comments on commit 1bf7f80

Please sign in to comment.