From 6dae652908c420bd82f894202d40440437e2582d Mon Sep 17 00:00:00 2001 From: Misha Sugakov Date: Tue, 7 Oct 2025 08:53:01 +0200 Subject: [PATCH] Add cpu limits to scanner builds --- .tekton/scanner-build.yaml | 2 ++ .tekton/scanner-slim-build.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.tekton/scanner-build.yaml b/.tekton/scanner-build.yaml index a8f31ae9a..8e13de444 100644 --- a/.tekton/scanner-build.yaml +++ b/.tekton/scanner-build.yaml @@ -68,6 +68,8 @@ spec: # This is not required for multi-arch builds, because they are performed off cluster - name: build computeResources: + limits: + cpu: 2 requests: cpu: 2 diff --git a/.tekton/scanner-slim-build.yaml b/.tekton/scanner-slim-build.yaml index 1c546332e..e486fd645 100644 --- a/.tekton/scanner-slim-build.yaml +++ b/.tekton/scanner-slim-build.yaml @@ -68,6 +68,8 @@ spec: # This is not required for multi-arch builds, because they are performed off cluster - name: build computeResources: + limits: + cpu: 2 requests: cpu: 2