Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions config/prow/cluster/cherrypicker_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
image: gcr.io/k8s-prow/cherrypicker:v20210909-6c59eee681
imagePullPolicy: Always
args:
- --github-token-path=/etc/github/oauth
- --github-token-path=/etc/github/token
- --github-endpoint=http://ghproxy
- --github-endpoint=https://api.github.com
- --dry-run=false
Expand All @@ -53,7 +53,7 @@ spec:
- name: hmac
mountPath: /etc/webhook
readOnly: true
- name: oauth
- name: github-token
mountPath: /etc/github
readOnly: true
- name: tmp
Expand All @@ -64,6 +64,6 @@ spec:
- name: hmac
secret:
secretName: hmac-token
- name: oauth
- name: github-token
secret:
secretName: oauth-token
secretName: k8s-infra-cherrypicker-robot-github-token
13 changes: 13 additions & 0 deletions config/prow/cluster/kubernetes_external_secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,16 @@ spec:
- key: gke_k8s-prow_us-central1-f_prow__prow-monitoring__grafana
name: password
version: latest
---
apiVersion: kubernetes-client.io/v1
kind: ExternalSecret
metadata:
name: k8s-infra-cherrypick-robot-github-token # The name of the K8s Secret
namespace: default
spec:
backendType: gcpSecretsManager
projectId: kubernetes-public
data:
- key: k8s-infra-cherrypick-robot-github-token # The name of the GSM Secret
name: token # The key to write in the K8s Secret
version: latest