From e32e9aec397220cb085c57bd2340a2e1c687b688 Mon Sep 17 00:00:00 2001 From: konflux Date: Sat, 10 May 2025 06:48:40 +0000 Subject: [PATCH] Konflux build pipeline service account migration for cache Signed-off-by: konflux --- .tekton/cache-pull-request.yaml | 3 ++- .tekton/cache-push.yaml | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.tekton/cache-pull-request.yaml b/.tekton/cache-pull-request.yaml index f62ba9d4e..cc5c97f57 100644 --- a/.tekton/cache-pull-request.yaml +++ b/.tekton/cache-pull-request.yaml @@ -435,7 +435,8 @@ spec: optional: true - name: netrc optional: true - taskRunTemplate: {} + taskRunTemplate: + serviceAccountName: build-pipeline-cache workspaces: - name: workspace volumeClaimTemplate: diff --git a/.tekton/cache-push.yaml b/.tekton/cache-push.yaml index dafd701c9..d7ed30a92 100644 --- a/.tekton/cache-push.yaml +++ b/.tekton/cache-push.yaml @@ -392,7 +392,8 @@ spec: - name: IMAGE value: $(tasks.build-container.results.IMAGE_URL) - name: ADDITIONAL_TAGS - value: ["latest"] + value: + - latest runAfter: - build-container taskRef: @@ -434,7 +435,8 @@ spec: optional: true - name: netrc optional: true - taskRunTemplate: {} + taskRunTemplate: + serviceAccountName: build-pipeline-cache workspaces: - name: workspace volumeClaimTemplate: