Skip to content

Commit

Permalink
Update AuthStatus to have list of ServiceAccountNames (#3032)
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr authored May 7, 2024
1 parent 1d1616a commit 360b72e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apis/duck/v1/auth_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@ type AuthStatus struct {
// ServiceAccountName is the name of the generated service account
// used for this components OIDC authentication.
ServiceAccountName *string `json:"serviceAccountName,omitempty"`

// ServiceAccountNames is the list of names of the generated service accounts
// used for this components OIDC authentication. This list can have len() > 1,
// when the component uses multiple identities (e.g. in case of a Parallel).
ServiceAccountNames []string `json:"serviceAccountNames,omitempty"`
}
5 changes: 5 additions & 0 deletions apis/duck/v1/zz_generated.deepcopy.go

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

0 comments on commit 360b72e

Please sign in to comment.