about summary refs log tree commit diff
path: root/infra/kubernetes
diff options
context:
space:
mode:
Diffstat (limited to 'infra/kubernetes')
-rw-r--r--infra/kubernetes/cgit/config.yaml23
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: {}
 ---