Move the encode job's decision logic out of the mc container

FixKlusterServices
Shipped
19 Agosti 2026, 02:26 UTC
Author
Kamo
Commit
5dc0d08

The plan stage died on `sed: command not found`. The minio/mc image is minimal to the point of having no sed, awk, grep, wget or curl — it can move objects and little else — so parsing `mc stat --json` there was never going to work. Folded the fetch/compare/encode steps into one init container on the mediamtx image (alpine + busybox + ffmpeg) and left mc doing only the upload. The public bucket is anonymously readable, so that stage needs no credentials at all: it fetches the source and the marker over plain HTTP. Idempotence now keys on the SHA-256 of the source bytes rather than its ETag. MinIO returns a multipart ETag whose shape depends on how the object was uploaded, and a hash is unambiguous regardless. Marker renamed to .source-sha256 accordingly.

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei