-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prow: add ExternalSecrets to prow-build-trusted
specifically cncf-ci-github-token in test-pods namespace
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
.../k8s-infra-prow-build-trusted/prow-build-trusted/resources/test-pods-externalsecrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This is a place holder for adding kubernetes external secrets, please add the | ||
# ExternalSecret CR here, separated by `---`. | ||
--- | ||
apiVersion: kubernetes-client.io/v1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: cncf-ci-github-token | ||
namespace: test-pods | ||
spec: | ||
backendType: gcpSecretsManager | ||
# The project hosting the GSM Secret | ||
projectId: k8s-infra-prow-build-trusted | ||
data: | ||
# The name of the GSM Secret | ||
- key: cncf-ci-github-token # The name of the GSM Secret | ||
# The version of the GSM Secret | ||
version: latest | ||
# Value will appear in .data.{name} in the Kubernetes Secret | ||
name: token |