From 9f1b96da1b7184fa5d040ee1c66f926eb957ee2c Mon Sep 17 00:00:00 2001 From: Kyle Lape Date: Thu, 11 Jan 2024 12:12:23 -0600 Subject: [PATCH] Move cpu request spec --- .tekton/scanner-pull-request.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.tekton/scanner-pull-request.yaml b/.tekton/scanner-pull-request.yaml index 4e2c38880..8e0f47f4d 100644 --- a/.tekton/scanner-pull-request.yaml +++ b/.tekton/scanner-pull-request.yaml @@ -369,6 +369,9 @@ spec: - name: workspace workspace: workspace - name: clamav-scan + computeResources: + requests: + cpu: 1 params: - name: image-digest value: $(tasks.build-container.results.IMAGE_DIGEST) @@ -417,11 +420,6 @@ spec: - name: git-auth optional: true taskRunTemplate: {} - taskRunSpecs: - - pipelineTaskName: clamav-scan - computeResources: - requests: - cpu: 1 workspaces: - name: workspace volumeClaimTemplate: