Skip to content

Commit

Permalink
Add Github HMAC token
Browse files Browse the repository at this point in the history
Create and Github HMAC Token to GCP Secrets Manager of project
kubernetes-public.

Signed-off-by: Arnaud Meukam <[email protected]>
  • Loading branch information
ameukam committed Jul 22, 2021
1 parent 50cd22e commit c0cefd5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions apps/prow/cluster/prow-externalsecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,19 @@ spec:
- key: k8s-infra-build-clusters-kubeconfig # The name of the GSM Secret
name: kubeconfig # The key to write to in the Kubernetes Secret
version: latest # The version of the GSM Secret
---
# Github HMAC token synchronized from GCP Secrets Manager
apiVersion: kubernetes-client.io/v1
kind: ExternalSecret
metadata:
name: k8s-infra-prow-hmac-token
namespace: prow
labels:
app: prow
spec:
backendType: gcpSecretsManager
projectId: kubernetes-public
data:
- key: k8s-infra-prow-hmac-token # The name of the GSM Secret
name: hmac # The key to write to in the Kubernetes Secret
version: latest # The version of the GSM Secret
1 change: 1 addition & 0 deletions infra/gcp/ensure-main-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ function ensure_aaa_external_secrets() {
local prow_secrets=(
k8s-infra-build-clusters-kubeconfig
k8s-infra-ci-robot-github-token
k8s-infra-prow-hmac-token
)
local slack_infra_secrets=(
recaptcha
Expand Down

0 comments on commit c0cefd5

Please sign in to comment.