Skip to content

Commit bab3ad0

Browse files
authored
fix: deck use gcs service account (#68)
1 parent 4815c97 commit bab3ad0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

prow/templates/deck-deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ spec:
3636
- --github-token-path=/etc/github/oauth
3737
- --github-oauth-config-file=/etc/githuboauth/secret
3838
- --plugin-config=/etc/plugins/plugins.yaml
39+
- --gcs-credentials-file=/etc/gcscredentials/service-account.json
3940
ports:
4041
- name: http
4142
containerPort: 8080
@@ -54,6 +55,9 @@ spec:
5455
- name: oauth-token
5556
mountPath: /etc/github
5657
readOnly: true
58+
- name: gcs-credentials
59+
mountPath: /etc/gcscredentials
60+
readOnly: true
5761
- name: cookie-secret
5862
mountPath: /etc/cookie
5963
readOnly: true
@@ -86,6 +90,9 @@ spec:
8690
- name: oauth-token
8791
secret:
8892
secretName: {{ .Values.secrets.githubToken }}
93+
- name: gcs-credentials
94+
secret:
95+
secretName: {{ .Values.secrets.bucketGcsCredentials }}
8996
- name: cookie-secret
9097
secret:
9198
secretName: deck-cookie

0 commit comments

Comments
 (0)