Skip to content

ROX-29078: switch to per component SA #1891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .tekton/scanner-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ spec:
requests:
cpu: 2

taskRunTemplate:
serviceAccountName: build-pipeline-scanner

# Multiarch builds sometimes make the pipeline timeout after 1h.
# Tagged builds wait for blobs to be published which takes about 1h.
timeouts:
Expand Down
3 changes: 3 additions & 0 deletions .tekton/scanner-db-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ spec:
secret:
secretName: '{{ git_auth_secret }}'

taskRunTemplate:
serviceAccountName: build-pipeline-scanner-db

# Tagged builds wait for blobs to be published which takes about 1h.
timeouts:
tasks: 2h30m
Expand Down
3 changes: 3 additions & 0 deletions .tekton/scanner-db-slim-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ spec:
secret:
secretName: '{{ git_auth_secret }}'

taskRunTemplate:
serviceAccountName: build-pipeline-scanner-db-slim

timeouts:
tasks: 1h
finally: 10m
Expand Down
3 changes: 3 additions & 0 deletions .tekton/scanner-slim-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ spec:
requests:
cpu: 2

taskRunTemplate:
serviceAccountName: build-pipeline-scanner-slim

# Multiarch builds sometimes make the pipeline timeout after 1h.
timeouts:
tasks: 1h30m
Expand Down