-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy serviceAccountName to affinity-assistant
When a serviceAccountName is specified on a PipelineRun, all Pods that execute the constituent Tasks run with the specified ServiceAccount. If an Affinity Assistant pod is launched, it should also run with the same ServiceAccount. This ensures that cluster policies apply consistently to Tekton-launched Pods, and it avoids use of the "default" ServiceAccount that is discouraged by some Kubernetes security experts.
- Loading branch information
Showing
2 changed files
with
27 additions
and
3 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