-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auth): Propagate
X-SPINNAKER-ACCOUNTS
when triggering pipelines (
#530) Echo and externally triggered (via `gate`) pipelines differ in that the former does not propagate `X-SPINNAKER-ACCOUNTS`, even when a service account is being used. When `services.fiat.legacyFallback` is enabled, this PR will fetch the allowed accounts for either the specified service account name or `anonymous`. The goal is to make fallbacks consistent regardless of how a pipeline was triggered.
- Loading branch information
Showing
2 changed files
with
152 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters