Skip to content

Commit

Permalink
Adding domains field to auto-approval config
Browse files Browse the repository at this point in the history
Implements: ASC-444

Signed-off-by: David Peraza <[email protected]>
  • Loading branch information
dperaza4dustbit committed Apr 21, 2024
1 parent d9f5a3d commit 048a724
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/v1alpha1/toolchainconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ type AutomaticApprovalConfig struct {
// Defines if the automatic approval is enabled or not
// +optional
Enabled *bool `json:"enabled,omitempty"`

// Email domains to consider for auto-approval.
// +optional
// +listType=set
Domains []string `json:"domains,omitempty"`
}

// Contains default capacity threshold as well as specific ones for particular member clusters
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions api/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 048a724

Please sign in to comment.