Skip to content

Commit

Permalink
fix(apps/gcp/prow/release): add gcs credential to prow-test-pods na…
Browse files Browse the repository at this point in the history
…mespace (#636)

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo authored Jul 3, 2023
1 parent 86f2fec commit 10ba361
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/gcp/prow/pre/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ resources:
- namespace-test-pods.yaml
- rbac-test-pods-k8s-pod-full.yaml
- secrets.yaml
- secrets-test-pods.yaml
- prow-configs.yaml
- prow-jobs.yaml
10 changes: 10 additions & 0 deletions apps/gcp/prow/pre/secrets-test-pods.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: v1
kind: Secret
metadata:
name: gcs-credentials
namespace: ${TEST_PODS_NAMESPACE}
type: Opaque
data:
# FluxCD GitOps can not substitute multiple with lines, so we use base64.
service-account.json: ${GCS_CREDENTIALS_BASE64}

0 comments on commit 10ba361

Please sign in to comment.