diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-20T13·15+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-20T13·15+0000 |
commit | 43ceaa17e35eac0101a3628143f6b58b67c9067a (patch) | |
tree | 09ccb1a0d8fb3e8eaef103015df3ec6c425e0bd0 | |
parent | 7158d56499ce7e87f45faa2461f6f787bcf83a10 (diff) |
feat(infra/k8s): Add git cookie secret for repository sync r/210
-rw-r--r-- | infra/kubernetes/cgit/config.yaml | 10 | ||||
-rw-r--r-- | secrets/gcsr-tazjin-password | bin | 0 -> 186 bytes |
2 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: diff --git a/secrets/gcsr-tazjin-password b/secrets/gcsr-tazjin-password new file mode 100644 index 000000000000..5893de131560 --- /dev/null +++ b/secrets/gcsr-tazjin-password Binary files differ |