From a529e9d0ff9a8b6839db8e55823f24c0f8b7dedc Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Thu, 22 Jul 2021 08:08:43 -0700 Subject: [PATCH] prow: add k8s-triage-robot-github-token secret --- .../test-pods/test-pods-externalsecrets.yaml | 13 +++++++++++++ infra/gcp/prow/ensure-e2e-projects.sh | 1 + 2 files changed, 14 insertions(+) diff --git a/infra/gcp/clusters/projects/k8s-infra-prow-build-trusted/prow-build-trusted/resources/test-pods/test-pods-externalsecrets.yaml b/infra/gcp/clusters/projects/k8s-infra-prow-build-trusted/prow-build-trusted/resources/test-pods/test-pods-externalsecrets.yaml index 6db861ed978..7871111ce5d 100644 --- a/infra/gcp/clusters/projects/k8s-infra-prow-build-trusted/prow-build-trusted/resources/test-pods/test-pods-externalsecrets.yaml +++ b/infra/gcp/clusters/projects/k8s-infra-prow-build-trusted/prow-build-trusted/resources/test-pods/test-pods-externalsecrets.yaml @@ -25,3 +25,16 @@ spec: - key: snyk-token # The name of the GSM Secret name: SNYK_TOKEN # The key to write to in the Kubernetes Secret version: latest # The version of the GSM Secret +--- +apiVersion: kubernetes-client.io/v1 +kind: ExternalSecret +metadata: + name: k8s-triage-robot-github-token + namespace: test-pods +spec: + backendType: gcpSecretsManager + projectId: k8s-infra-prow-build-trusted + data: + - key: k8s-triage-robot-github-token # The name of the GSM Secret + name: token # The key to write to in the Kubernetes Secret + version: latest # The version of the GSM Secret diff --git a/infra/gcp/prow/ensure-e2e-projects.sh b/infra/gcp/prow/ensure-e2e-projects.sh index 5c6abb6f8d9..e552c2c0756 100755 --- a/infra/gcp/prow/ensure-e2e-projects.sh +++ b/infra/gcp/prow/ensure-e2e-projects.sh @@ -141,6 +141,7 @@ function ensure_e2e_project() { function ensure_trusted_prow_build_cluster_secrets() { local project="${TRUSTED_BUILD_CLUSTER_PROJECT}" local secret_specs=( + k8s-triage-robot-github-token/sig-contributor-experience/github@kubernetes.io cncf-ci-github-token/sig-testing/k8s-infra-ii-coop@kubernetes.io snyk-token/sig-architecture/k8s-infra-code-organization@kubernetes.io )