From 9fa6d67f3ba64d277544af8adb8165739f7c4137 Mon Sep 17 00:00:00 2001 From: konflux Date: Sat, 10 May 2025 06:51:17 +0000 Subject: [PATCH] Konflux build pipeline service account migration for controller Signed-off-by: konflux --- .tekton/controller-pull-request.yaml | 3 ++- .tekton/controller-push.yaml | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.tekton/controller-pull-request.yaml b/.tekton/controller-pull-request.yaml index 8e00b2a3d..dbbd1d556 100644 --- a/.tekton/controller-pull-request.yaml +++ b/.tekton/controller-pull-request.yaml @@ -433,7 +433,8 @@ spec: optional: true - name: netrc optional: true - taskRunTemplate: {} + taskRunTemplate: + serviceAccountName: build-pipeline-controller workspaces: - name: workspace volumeClaimTemplate: diff --git a/.tekton/controller-push.yaml b/.tekton/controller-push.yaml index 3d8ad65eb..3b23c9191 100644 --- a/.tekton/controller-push.yaml +++ b/.tekton/controller-push.yaml @@ -390,7 +390,8 @@ spec: - name: IMAGE value: $(tasks.build-container.results.IMAGE_URL) - name: ADDITIONAL_TAGS - value: ["latest"] + value: + - latest runAfter: - build-container taskRef: @@ -432,7 +433,8 @@ spec: optional: true - name: netrc optional: true - taskRunTemplate: {} + taskRunTemplate: + serviceAccountName: build-pipeline-controller workspaces: - name: workspace volumeClaimTemplate: