Skip to content

Commit 74b21cc

Browse files
author
konflux
committed
Konflux build pipeline service account migration for cli
Signed-off-by: konflux <[email protected]>
1 parent b47170d commit 74b21cc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.tekton/cli-pull-request.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,8 @@ spec:
435435
optional: true
436436
- name: netrc
437437
optional: true
438-
taskRunTemplate: {}
438+
taskRunTemplate:
439+
serviceAccountName: build-pipeline-cli
439440
workspaces:
440441
- name: workspace
441442
volumeClaimTemplate:

.tekton/cli-push.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ spec:
392392
- name: IMAGE
393393
value: $(tasks.build-container.results.IMAGE_URL)
394394
- name: ADDITIONAL_TAGS
395-
value: ["latest"]
395+
value:
396+
- latest
396397
runAfter:
397398
- build-container
398399
taskRef:
@@ -434,7 +435,8 @@ spec:
434435
optional: true
435436
- name: netrc
436437
optional: true
437-
taskRunTemplate: {}
438+
taskRunTemplate:
439+
serviceAccountName: build-pipeline-cli
438440
workspaces:
439441
- name: workspace
440442
volumeClaimTemplate:

0 commit comments

Comments
 (0)