Skip to content

Commit

Permalink
Add results-release service account.
Browse files Browse the repository at this point in the history
This service account includes the Workload Identity annotations
(https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity#authenticating_to) to map this to a correspond GCP Service Account.

Workload Identity is already enabled for the dogfooding cluster.
  • Loading branch information
wlynch authored and tekton-robot committed Apr 21, 2021
1 parent a40b368 commit 8b5bfa6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tekton/release-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kind: PipelineRun
metadata:
generateName: results-release-api-
spec:
serviceAccountName: release-right-meow
serviceAccountName: results-release
pipelineRef:
name: results-release
params:
Expand Down
7 changes: 7 additions & 0 deletions tekton/serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
annotations:
iam.gke.io/gcp-service-account: [email protected]
name: results-release
namespace: default

0 comments on commit 8b5bfa6

Please sign in to comment.