Skip to content

Commit 6af63ed

Browse files
Ish Shahtimflannagan
authored andcommitted
Add Service Account Config to Scorecard (openshift#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]> Upstream-repository: api Upstream-commit: 179663555651895b714e51a56dc0461fbc197235
1 parent 84f7ca5 commit 6af63ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

staging/api/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)