diff deploy.yaml @ 20:b59912649fc4

rewrite local hg scanner
author drewp@bigasterisk.com
date Sun, 09 Jan 2022 20:47:57 -0800
parents 5751ef191454
children cb71722bb75c
line wrap: on
line diff
--- a/deploy.yaml	Sun Jan 09 16:02:08 2022 -0800
+++ b/deploy.yaml	Sun Jan 09 20:47:57 2022 -0800
@@ -29,8 +29,16 @@
             - python3
             - repo_github_status.py
             - "-v"
-        #   volumeMounts:
-        #     - {name: my, mountPath: /my}
+        - name: hg-status
+          image: bang5:5000/reposync_image
+          ports:
+            - containerPort: 8001
+          command:
+            - python3
+            - repo_local_status.py
+            - "-v"
+          volumeMounts:
+            - { name: my, mountPath: /my }
 
       volumes:
         - { name: my, persistentVolumeClaim: { claimName: my } }
@@ -51,5 +59,6 @@
   ports:
     - { port: 80, targetPort: 3000, name: http }
     - { port: 8000, targetPort: 8000, name: localrepos }
+    - { port: 8001, targetPort: 8001, name: githubrepos }
   selector:
     app: reposync