Skip to content

Commit

Permalink
Add Service Account Config to Scorecard (#153)
Browse files Browse the repository at this point in the history
* add SA field to config

Signed-off-by: Ish Shah <ishah@redhat.com>

* Update pkg/apis/scorecard/v1alpha3/configuration_types.go

Co-authored-by: Joe Lanford <joe.lanford@gmail.com>

Co-authored-by: Joe Lanford <joe.lanford@gmail.com>
  • Loading branch information
Ish Shah and joelanford authored Sep 24, 2021
1 parent e254156 commit 1796635
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/apis/scorecard/v1alpha3/configuration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ type Configuration struct {

// Storage is the optional storage configuration
Storage Storage `json:"storage,omitempty" yaml:"storage,omitempty"`

// 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.
ServiceAccount string `json:"string,omitempty" yaml:"string,omitempty"`
}

// StageConfiguration configures a set of tests to be run.
Expand Down

0 comments on commit 1796635

Please sign in to comment.