File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -795,8 +795,10 @@ type ManagedRoles struct {
795795 // +optional
796796 ByStatus map [RoleStatus ][]string `json:"byStatus,omitempty"`
797797
798- // CannotReconcile lists roles that cannot be reconciled in PostgreSQL,
799- // with an explanation of the cause
798+ // CannotReconcile lists roles that cannot be reconciled, with an
799+ // explanation of the cause. Failures may originate in PostgreSQL
800+ // (e.g. dropping a role that owns objects) or in Kubernetes (e.g.
801+ // the referenced password Secret cannot be fetched).
800802 // +optional
801803 CannotReconcile map [string ][]string `json:"cannotReconcile,omitempty"`
802804
@@ -2569,8 +2571,10 @@ type RoleConfiguration struct {
25692571 // +optional
25702572 Ensure EnsureOption `json:"ensure,omitempty"`
25712573
2572- // Secret containing the password of the role (if present)
2573- // If null, the password will be ignored unless DisablePassword is set
2574+ // Secret containing the password of the role (if present).
2575+ // If null, the password will be ignored unless DisablePassword is set.
2576+ // When set, the secret must follow the `kubernetes.io/basic-auth` format
2577+ // and contain both a `username` and a `password` field.
25742578 // +optional
25752579 PasswordSecret * LocalObjectReference `json:"passwordSecret,omitempty"`
25762580
You can’t perform that action at this time.
0 commit comments