minio: repin to pgsty's fork, build the runtime sidecar, move data off HAL's live drive
minio/minio and minio/mc were pulled from all public registries on 2026-09-11; pgsty's fork is the working replacement (hq issue 113). The runtime sidecar had no Dockerfile and no build section at all — added, following the same tsc-over-client/tools/provisioner shape every other converted module uses. The data resource pointed straight at /services/minio/data/data1-1, one of HAL's live 8-drive erasure-coded array — starting this module would have written into production storage the mesh doesn't own. Moved to a fresh, empty, mesh-owned directory; the actual data migration happens over the S3 API (rclone), not by sharing a disk path.
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
{
|
||||
"id": "data",
|
||||
"type": "directory",
|
||||
"path": "/services/minio/data/data1-1",
|
||||
"path": "/var/lib/minio-store",
|
||||
"mode": "0700"
|
||||
},
|
||||
{
|
||||
@@ -80,7 +80,7 @@
|
||||
"id": "server",
|
||||
"type": "container",
|
||||
"name": "minio",
|
||||
"image": "quay.io/minio/minio@sha256:14cea493d9a34af32f524e538b8346cf79f3321eff8e708c1e2960462bd8936e",
|
||||
"image": "docker.io/pgsty/minio@sha256:b6bfe7239bfc83fb90d31612d9704d86039dd714f7904b3f1ad68f211e602372",
|
||||
"network": "minio",
|
||||
"args": [
|
||||
"server",
|
||||
@@ -95,7 +95,7 @@
|
||||
"9000"
|
||||
],
|
||||
"volumes": [
|
||||
"/services/minio/data/data1-1:/data",
|
||||
"/var/lib/minio-store:/data",
|
||||
"/var/lib/minio/root.secret:/run/secrets/root:ro"
|
||||
],
|
||||
"env": {
|
||||
@@ -106,7 +106,6 @@
|
||||
"id": "runtime",
|
||||
"type": "container",
|
||||
"name": "mesh-minio",
|
||||
"image": "mesh-runtime-minio@sha256:0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"network": "minio",
|
||||
"volumes": [
|
||||
"/var/lib/mesh/minio/broker:/run/secrets/broker:ro",
|
||||
@@ -119,7 +118,29 @@
|
||||
"MESH_MINIO_ROOT_PASSWORD_FILE": "/run/secrets/root",
|
||||
"MESH_BROKER_FILE": "/run/secrets/broker",
|
||||
"MESH_RECEIVES": "/var/lib/minio/grants/mesh.json"
|
||||
}
|
||||
},
|
||||
"artifact": "runtime"
|
||||
}
|
||||
]
|
||||
],
|
||||
"build": {
|
||||
"on": [
|
||||
{
|
||||
"arg": "BUILD_BASE",
|
||||
"module": "mesh-tools",
|
||||
"artifact": "build"
|
||||
},
|
||||
{
|
||||
"arg": "RUNTIME_BASE",
|
||||
"module": "mesh-tools",
|
||||
"artifact": "runtime"
|
||||
}
|
||||
],
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "runtime",
|
||||
"kind": "image",
|
||||
"from": "Dockerfile"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user