Skip to content

Commit 1796635

Browse files
Ish Shahjoelanford
andauthored
Add Service Account Config to Scorecard (#153)
* add SA field to config Signed-off-by: Ish Shah <[email protected]> * Update pkg/apis/scorecard/v1alpha3/configuration_types.go Co-authored-by: Joe Lanford <[email protected]> Co-authored-by: Joe Lanford <[email protected]>
1 parent e254156 commit 1796635

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/apis/scorecard/v1alpha3/configuration_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ type Configuration struct {
2222

2323
// Storage is the optional storage configuration
2424
Storage Storage `json:"storage,omitempty" yaml:"storage,omitempty"`
25+
26+
// ServiceAccount is the service account under which scorecard tests are run. This field is optional. If left unset, the `default` service account will be used.
27+
ServiceAccount string `json:"string,omitempty" yaml:"string,omitempty"`
2528
}
2629

2730
// StageConfiguration configures a set of tests to be run.

0 commit comments

Comments
 (0)