Skip to content

Commit

Permalink
Adding more description to the domains field.
Browse files Browse the repository at this point in the history
Adding more descriptions to how domains will work with enabled.

Signed-off-by: David Peraza <[email protected]>
  • Loading branch information
dperaza4dustbit committed Apr 24, 2024
1 parent 0887c37 commit 1c3b260
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1alpha1/toolchainconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ type AutomaticApprovalConfig struct {

// Comma-separated email domains to consider for auto-approval.
// For example: "redhat.com,ibm.com"
// If domains is not set and enabled is true, it will default to auto approving all authenticated emails.
// If domains is set and enabled is true, it will allow auto approving only for authenticated emails under
// the domains entered. If enabled is false domains will be ignored.
// +optional
Domains *string `json:"domains,omitempty"`
}
Expand Down

0 comments on commit 1c3b260

Please sign in to comment.