harbor (Fix): public again for image pulls, internal name kept #1772

Merged
ginjiruu merged 1 commit from harbor-public into main 2026-11-21 01:41:55 +00:00
Owner

Harbor back on harbor.animeteamspeak.moe, internal name kept.

Why: #1759 made Harbor internal-only, but Harbor is the image store every other service pulls from: mini-01 and c1 containerd mirror docker.io/quay/ghcr/gcr through it (mini-01 /etc/rancher/rke2/registries.yaml, machine-configs registryMirror), the tf-runner and branch-planner images, authz-bridge, fxtwitterbot and glmocr. No node resolves caosh.int (both use public resolvers), so every fresh pull failed and everything ran from cache. CI pushes from lab/automation use the public name too.

Changes (generic-templates/harbor):

  • listener-set.yaml restored from 9f65cd7a: ListenerSet harbor on cilium-default, letsencrypt-prod cert, plus a 301 http to https route.
  • Chart route (harbor-route) now on the public listener (sectionName https) with dns.animeteamspeak.moe/public=true, so the public external-dns publishes the record from the route, per #1749.
  • routes-internal.yaml gets a static internal HTTPRoute (core/portal split, internal DNS label) next to the existing cert, ListenerSet and redirect. Two routes, because one route carrying both DNS labels would make the public external-dns publish the internal name to Cloudflare.
  • externalURL back to https://harbor.animeteamspeak.moe: token realm and OIDC callback follow it.
  • Runbook and harbor-config comment back to the public name.

Supersedes #1770 (closed): with the public name serving, node configs and image refs need no change.

Merge order: lab/iac#181 (kanidm callback) first, then this.

Checks: kustomize build OK; helm template 1.19.4 renders EXT_ENDPOINT public and a route labelled public; server dry-run of the internal objects OK; pre-push gate green.

After merge: curl -sI https://harbor.animeteamspeak.moe/v2/ gives 401 with a valid LE cert; Cloudflare record harbor from external-dns; on mini-01, crictl pull of a fresh docker.io tag logs the harbor mirror.

Harbor back on harbor.animeteamspeak.moe, internal name kept. **Why:** #1759 made Harbor internal-only, but Harbor is the image store every other service pulls from: mini-01 and c1 containerd mirror docker.io/quay/ghcr/gcr through it (mini-01 /etc/rancher/rke2/registries.yaml, machine-configs registryMirror), the tf-runner and branch-planner images, authz-bridge, fxtwitterbot and glmocr. No node resolves caosh.int (both use public resolvers), so every fresh pull failed and everything ran from cache. CI pushes from lab/automation use the public name too. **Changes (generic-templates/harbor):** - listener-set.yaml restored from 9f65cd7a: ListenerSet harbor on cilium-default, letsencrypt-prod cert, plus a 301 http to https route. - Chart route (harbor-route) now on the public listener (sectionName https) with dns.animeteamspeak.moe/public=true, so the public external-dns publishes the record from the route, per #1749. - routes-internal.yaml gets a static internal HTTPRoute (core/portal split, internal DNS label) next to the existing cert, ListenerSet and redirect. Two routes, because one route carrying both DNS labels would make the public external-dns publish the internal name to Cloudflare. - externalURL back to https://harbor.animeteamspeak.moe: token realm and OIDC callback follow it. - Runbook and harbor-config comment back to the public name. **Supersedes #1770** (closed): with the public name serving, node configs and image refs need no change. **Merge order:** lab/iac#181 (kanidm callback) first, then this. **Checks:** kustomize build OK; helm template 1.19.4 renders EXT_ENDPOINT public and a route labelled public; server dry-run of the internal objects OK; pre-push gate green. **After merge:** curl -sI https://harbor.animeteamspeak.moe/v2/ gives 401 with a valid LE cert; Cloudflare record harbor from external-dns; on mini-01, crictl pull of a fresh docker.io tag logs the harbor mirror.
Sign in to join this conversation.
No description provided.