Repository navigation
chart: v2.2.0
What's Changed
Harbor Releases
Features
-
Default project setting in System Settings by @bupd in #1405 (a851d11)
The default project for project-less pushes can now be set in Configuration > System Settings > Default Project. Only existing projects can be picked. Leave it empty to reject pushes and pulls that have no project in the path. New installs default to
librarywhen that project exists. Helm users can pin it withcore.defaultProjectName(envDEFAULT_PROJECT_NAME), which creates the project if needed and locks the setting. -
Model Sync from Hugging Face (beta) by @bupd in #1478 (32e1f88)
Model Sync (Beta): import Hugging Face models into Harbor projects as OCI model artifacts from a new Administration > Model Sync page. Turn it on under Configuration > Features or with
HARBOR_ENABLE_MODEL_SYNC=true. Based on goharbor/harbor#24318. -
chart: Optional in-cluster PostgreSQL subchart by @bupd in #1404 (f5d7d1d)
The Helm chart can run PostgreSQL in the cluster with
postgresql.enabled: true. A pgautoupgrade init container upgrades the data in place on a major version change, with no downgrade, so back up first. For production we still recommend an external PostgreSQL such as CloudNativePG; seedeploy/chart/docs/postgresql.md. Upgrading from a 2.15 chart: don't usehelm upgrade --reuse-values, which skips the new defaults and is now stopped with an error. Pass your values file (-f values.yaml) or use--reset-then-reuse-values. -
chart: Webhook egress policy levels and allowlist by @Vad1mo in #1185 (ba299a8)
The chart and compose files can set the webhook egress policy,
network.webhookEgress.policy(HARBOR_WEBHOOK_EGRESS_POLICY), toallow_all,block_restrictedorpublic_only, withnetwork.webhookEgress.allowlist(HARBOR_WEBHOOK_EGRESS_ALLOWLIST) for trusted receivers. The chart defaults toblock_restricted, so internal receivers work while loopback, link-local and metadata stay blocked; compose keepspublic_only.network.allowPrivateNetworkAccessis deprecated:truemaps toallow_all,falsetopublic_only.
Fixes
-
chart: extraTemplateManifests silently drops every document after the first by @SurbhiAgarwal1 in #687 (a20dcfc)
Every document in
extraTemplateManifestsis now rendered. Before, a multi-document YAML string silently dropped all documents after the first. Check your values if you worked around this by splitting manifests. -
chart: include service port in harbor.core.url helper in #790 (#847) (43221eb)
-
chart: Rebuild Indexes On PostgreSQL Collation Version Mismatch by @bupd in #1413 (133d1ea)
When a database moved from the goharbor/harbor-helm chart to the PostgreSQL subchart reports a collation version mismatch, the pgautoupgrade init container now reindexes all databases and refreshes the collation version automatically. The manual reindex step is no longer needed.
-
chart: Stop --reuse-values Upgrades From 2.15 Charts by @bupd in #1482 (9713de5)
The chart now fails at render time when
postgresql.enabledis missing, which happens withhelm upgrade --reuse-valuesfrom a 2.15 chart (2.1.x). Before, this created an unrequested PostgreSQL StatefulSet and dropped the new 2.16 defaults. Upgrade with-f values.yamlor--reset-then-reuse-valuesinstead. -
Skip empty component Secrets when identity is fully externalized by @bupd in #835 (cdeadab)
A fully externalized (GitOps) install with
autoGenSecrets: falseno longer creates empty or placeholder-only component Secrets: the chart skips each chart-managed Secret and itsenvFromreference when every key it would carry is pinned to an existing Secret.
Updates
Helm Chart
helm install harbor oci://8gears.container-registry.com/8gcr/charts/harbor \
--version 2.2.0 -n harbor --create-namespace -f my-values.yamlSigned with cosign. Verify the chart signature:
cosign verify \
--certificate-identity "https://github.com/container-registry/8gcr/.github/workflows/publish-chart.yml@refs/heads/release-2.16" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
8gears.container-registry.com/8gcr/charts/harbor:2.2.0Default Harbor image tags follow the chart appVersion: v2.16.0.