diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-20T14·40+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-20T14·40+0000 |
commit | b520a62e44df6c4f9ada4992041a06e84c622020 (patch) | |
tree | 82051f97cbaea14ec95aac9d74f4e8e9cf083863 /infra/kubernetes/cgit/config.yaml | |
parent | 15076ed22888844a378c7255c257adef37233485 (diff) |
feat(infra/k8s): Deploy sync-gcsr container into cgit pod r/217
This actually works - who would have thought!
Diffstat (limited to 'infra/kubernetes/cgit/config.yaml')
-rw-r--r-- | infra/kubernetes/cgit/config.yaml | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/infra/kubernetes/cgit/config.yaml b/infra/kubernetes/cgit/config.yaml index 569d279e0003..f59a237aaa23 100644 --- a/infra/kubernetes/cgit/config.yaml +++ b/infra/kubernetes/cgit/config.yaml @@ -31,7 +31,7 @@ spec: fsGroup: 1000 containers: - name: cgit - image: nixery.local/shell/third_party.git/third_party.google-cloud-sdk/services.cgit-taz:{{ gitHEAD }} + image: nixery.local/shell/services.cgit-taz:{{ gitHEAD }} command: [ "cgit-launch" ] env: - name: HOME @@ -39,11 +39,24 @@ spec: volumeMounts: - name: git-volume mountPath: /git + - name: sync-gcsr + image: nixery.local/shell/services.sync-gcsr:{{ gitHEAD }} + command: [ "sync-gcsr" ] + env: + - name: SYNC_USER + valueFrom: + secretKeyRef: + name: gcsr-secrets + key: username + - name: SYNC_PASS + valueFrom: + secretKeyRef: + name: gcsr-secrets + key: password + volumeMounts: + - name: git-volume + mountPath: /git volumes: - - name: cgit-secrets - secret: - secretName: cgit-secrets - defaultMode: 256 - name: git-volume emptyDir: {} --- |