Skip to content

Harbor image updates: investigation of #2281

Status, 2026-11-01: the cause is confirmed and the owner has decided the fix. This repository's part, the Harbor host rule, is in this pull request. The shared preset change in Skatzi/renovate-config is still open, and so are the proof runs that follow it (Proof after the merge).

eloro/webshop-platform pins harbor.prod.skatzi.com/skatzi/webshop-platform (image.tag) and harbor.prod.skatzi.com/skatzi/webshop-shop-template-frontend (frontend.image.tag) in deploy/demo/helmrelease.yaml. Renovate had proposed neither update, 14 releases on.

Cause

The operator read these sources (read-only) on 2026-10-31, in triage #2295, recorded on task #2281:

  1. The shared preset turns the packages off. The last packageRule of default.json in Skatzi/renovate-config is "Out of scope (ADR §14): our own images, whose tags release CI writes". It has a matchPackageNames regex ^harbor\.prod\.skatzi\.com\/skatzi\/ (next to the other §14 packages) and "enabled": false. eloro/webshop-platform/renovate.json, shop-template/renovate.json and eloro/webshop-shop-template/renovate.json all extend local>Skatzi/renovate-config, and none of them turns the packages back on.
  2. Extraction is not the cause. The log of job renovate-29890680 (namespace renovate, Renovate 44.181.5) shows helm-values: fileCount 2, depCount 4 for eloro/webshop-platform, with no lookup failure for a Harbor package. So helm-values finds the values under spec.values, and the packages are dropped before lookup. Dependency Dashboard eloro/webshop-platform#6 (2026-10-31T08:11Z) lists deploy/demo/helmrelease.yaml with no dependency and no pending update.
  3. Authentication would fail next. The first cause hides a second one. Renovate had no Harbor host rule: renovate-env held only RENOVATE_TOKEN and GITHUB_COM_TOKEN. Harbor answers an anonymous GET /v2/skatzi/webshop-platform/tags/list with 401, even after the anonymous token exchange at /service/token (probed in the first run of this task). With the existing pull robot from harbor-pull-secret, the same call returns 200 (18 tags, latest v1.64.2). So does the call for skatzi/webshop-shop-template-frontend (latest 1.0.2). No secret value was printed.

The other ranked hypotheses, scheduling, release age and PR limits, are refuted: nothing reached lookup, so nothing was deferred.

Owner decisions (2026-11-01)

  1. Scope. Consumer repositories (eloro/*) may have Renovate update harbor.prod.skatzi.com/skatzi/** pins (the demo's deploy/demo, each shop's deploy/prod). The exclusion stays for Skatzi/*, where release CI writes the tags. ADR §14 has the exception.
  2. Credential. Renovate reuses the existing read-only pull robot, from the OpenBao key harbor-pull-secret uses, through a host rule on harbor.prod.skatzi.com with hostType: docker. Nothing new goes into OpenBao, and no secret goes into Git.

Fix

This repository. components/renovate/external-secret.yaml adds RENOVATE_HOST_RULES to renovate-env: one docker host rule on harbor.prod.skatzi.com, filled from hetzner-mgmt/harbor/pull-secret (username, password). That key is the one cluster/hetzner-mgmt/external-secrets/config/kustomization.yaml patches into harbor-pull-secret. Secrets describes how Renovate authenticates. Primary sources:

  • Renovate parses an object or list option from its RENOVATE_<OPTION> environment variable as JSON (config overview, environment variables), and hostRules is CLI/env-enabled (lib/config/options/index.ts, name: 'hostRules', cli: true).
  • The chart (46.381.5) loads existingSecret with envFrom.secretRef, so every key becomes a variable (helm template of the chart).
  • External Secrets' template drops the synced keys unless mergePolicy: Merge. Replace is the default (templating guide, MergePolicy), so the template lists all three variables. toJson (sprig) quotes the robot's name, which contains $.

Skatzi/renovate-config (not in this pull request). This run's role reads only this repository, and Taskbase has no project for Skatzi/renovate-config, so neither the change nor a follow-up task could be made there. The change to default.json:

  1. Remove the harbor.prod.skatzi.com/skatzi/ regex from the existing §14 rule. Leave siderolabs and registry.k8s.io/kube-* there, since they stay off everywhere.
  2. Add, after it:
{
  "description": "Out of scope (ADR §14): our own images in Skatzi/*, whose tags release CI writes",
  "matchRepositories": ["Skatzi/*"],
  "matchPackageNames": ["harbor.prod.skatzi.com/skatzi/**"],
  "enabled": false
},
{
  "description": "ADR §14 exception: consumer pins of our own images take release tags only, never -amd64/-arm64",
  "matchPackageNames": ["harbor.prod.skatzi.com/skatzi/**"],
  "allowedVersions": "/^v?\\d+\\.\\d+\\.\\d+$/"
}

allowedVersions takes a regex between slashes (configuration options, allowedVersions). The pattern accepts v1.64.2 and 1.0.2 and rejects v1.64.2-amd64.

eloro repositories. With the preset changed, no renovate.json there needs a change: they extend the preset and do not disable the packages themselves. If the preset is not changed, each of eloro/webshop-platform, its shop-template/renovate.json and eloro/webshop-shop-template needs the second rule above with "enabled": true added.

Proof after the merge

Both need this pull request applied by Flux and the preset change merged. This run has no cluster access (kubectl has no configured cluster) and cannot read the eloro repositories, so neither check has run yet.

  1. Demo (§3). In the next hourly run, kubectl -n renovate logs job/<latest> shows no Harbor lookup failure for eloro/webshop-platform. Dashboard eloro/webshop-platform#6 then lists harbor.prod.skatzi.com/skatzi/webshop-platform under deploy/demo/helmrelease.yaml with an update to the latest vX.Y.Z (v1.64.2 on 2026-10-31), or Renovate opens that pull request.
  2. Generated shops (§4). A shop created from shop-template gets the same for the harbor.prod.skatzi.com/skatzi/** pins in its deploy/prod/helmrelease.yaml, on its own Dependency Dashboard. The template's renovate.json extends the same preset, so the change above covers it.
  3. Rollback. Revert this pull request and the preset change. Renovate then skips the packages, as before.