Mercurial > code > home > repos > video
diff deploy.yaml @ 49:1bd17c2e5517 default tip
video.py must sign video urls for serve-files.js to serve them
author | drewp@bigasterisk.com |
---|---|
date | Fri, 06 Dec 2024 17:13:51 -0800 |
parents | ed16fdbb3996 |
children |
line wrap: on
line diff
--- a/deploy.yaml Fri Dec 06 14:20:11 2024 -0800 +++ b/deploy.yaml Fri Dec 06 17:13:51 2024 -0800 @@ -18,6 +18,7 @@ volumes: - { name: video-data-download, persistentVolumeClaim: { claimName: video-data-download } } - { name: video-data-src, persistentVolumeClaim: { claimName: video-data-src } } + - { name: secret, secret: { secretName: video } } containers: - name: ingest image: reg:5000/video_image @@ -30,6 +31,7 @@ - { name: video-data-download, mountPath: /data/video-download } - { name: video-data-src, mountPath: /data/video-src } + - name: files image: reg:5000/video_image # alternate: [ "webfsd", "-Fp", "9054", "-r", "/vids/" ] @@ -43,6 +45,7 @@ volumeMounts: - { name: video-data-download, mountPath: /data/video-download } - { name: video-data-src, mountPath: /data/video-src } + - { name: secret, mountPath: /secret } - name: api image: reg:5000/video_image @@ -53,6 +56,8 @@ - video.py ports: - containerPort: 8004 + volumeMounts: + - { name: secret, mountPath: /secret } resources: requests: cpu: "2"