about summary refs log tree commit diff
path: root/infra/kubernetes/cgit
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-20T13·15+0000
committerVincent Ambo <tazjin@google.com>2019-12-20T13·15+0000
commit43ceaa17e35eac0101a3628143f6b58b67c9067a (patch)
tree09ccb1a0d8fb3e8eaef103015df3ec6c425e0bd0 /infra/kubernetes/cgit
parent7158d56499ce7e87f45faa2461f6f787bcf83a10 (diff)
feat(infra/k8s): Add git cookie secret for repository sync r/210
Diffstat (limited to 'infra/kubernetes/cgit')
-rw-r--r--infra/kubernetes/cgit/config.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/infra/kubernetes/cgit/config.yaml b/infra/kubernetes/cgit/config.yaml
index b4794b5e4362..569d279e0003 100644
--- a/infra/kubernetes/cgit/config.yaml
+++ b/infra/kubernetes/cgit/config.yaml
@@ -1,4 +1,14 @@
 ---
+apiVersion: v1
+kind: Secret
+metadata:
+  name: gcsr-secrets
+type: Opaque
+data:
+  username: "Z2l0LXRhemppbi5nbWFpbC5jb20="
+  # This credential is a GCSR 'gitcookie' token.
+  password: '{{ passLookup "gcsr-tazjin-password" | b64enc }}'
+---
 apiVersion: apps/v1
 kind: Deployment
 metadata: