join.image defaults to the public image #30

Merged
jcoffey-dev merged 1 commits from join-image-default into main 2026-11-15 22:19:34 +00:00
Owner

John: "yes do the join.image default".

  • clusterImage(): with join.image unset, ghcr.io/coffey-labs/cairnobs:<version>. A version that isn't a release (dev, 0.1.0-3-gabc-dirty) takes :latest, since GHCR has no such tag. A set join.image behaves as before (this version as the tag unless it names a tag or digest).
  • Add a cluster no longer refuses without join.image (the 409 "needs join.image" is gone); it's refused only when hosts can't join either.
  • Tests: TestClusterImage (8 cases: default at a final, an RC, dev, a describe version; set images with a registry port, dev, a tag, a digest); TestJoinACluster now joins without join.image and checks the manifest names the public image.
  • Docs: formats.md (Joining), kubernetes.md step 1, the example config and the kustomize base's comment.

make test, make check pass locally.

John: "yes do the join.image default". - `clusterImage()`: with `join.image` unset, `ghcr.io/coffey-labs/cairnobs:<version>`. A version that isn't a release (`dev`, `0.1.0-3-gabc-dirty`) takes `:latest`, since GHCR has no such tag. A set `join.image` behaves as before (this version as the tag unless it names a tag or digest). - **Add a cluster** no longer refuses without `join.image` (the 409 "needs join.image" is gone); it's refused only when hosts can't join either. - Tests: `TestClusterImage` (8 cases: default at a final, an RC, dev, a describe version; set images with a registry port, dev, a tag, a digest); `TestJoinACluster` now joins without `join.image` and checks the manifest names the public image. - Docs: formats.md (Joining), kubernetes.md step 1, the example config and the kustomize base's comment. `make test`, `make check` pass locally.
jcoffey-dev added 1 commit 2026-11-15 22:10:36 +00:00
join.image defaults to the public image
ci / postgres (pull_request) Successful in 3m16s
ci / check (pull_request) Successful in 8m22s
31e10c1c09
Clusters can be added without setting join.image: the manifest names
ghcr.io/coffey-labs/cairnobs at this obs-beacond's version. A development
build, whose version has no image there, takes :latest. Setting join.image
still points clusters at your own copy, for those that can't reach GitHub's
registry.
jcoffey-dev merged commit 5729095309 into main 2026-11-15 22:19:34 +00:00
jcoffey-dev deleted branch join-image-default 2026-11-15 22:19:34 +00:00
Sign in to join this conversation.