Skip to content

chart: v2.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 08:07
646db9a

What's Changed

Harbor Releases

  • release 2.16.0 by @github-actions[bot] in #268 (2862ead)

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 library when that project exists. Helm users can pin it with core.defaultProjectName (env DEFAULT_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; see deploy/chart/docs/postgresql.md. Upgrading from a 2.15 chart: don't use helm 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), to allow_all, block_restricted or public_only, with network.webhookEgress.allowlist (HARBOR_WEBHOOK_EGRESS_ALLOWLIST) for trusted receivers. The chart defaults to block_restricted, so internal receivers work while loopback, link-local and metadata stay blocked; compose keeps public_only. network.allowPrivateNetworkAccess is deprecated: true maps to allow_all, false to public_only.

Fixes

  • chart: extraTemplateManifests silently drops every document after the first by @SurbhiAgarwal1 in #687 (a20dcfc)

    Every document in extraTemplateManifests is 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.enabled is missing, which happens with helm upgrade --reuse-values from 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.yaml or --reset-then-reuse-values instead.

  • Skip empty component Secrets when identity is fully externalized by @bupd in #835 (cdeadab)

    A fully externalized (GitOps) install with autoGenSecrets: false no longer creates empty or placeholder-only component Secrets: the chart skips each chart-managed Secret and its envFrom reference when every key it would carry is pinned to an existing Secret.

Updates

  • Add Argo CD example with pinned-secret Application setup by @bupd in #836 (af4898b)

Helm Chart

helm install harbor oci://8gears.container-registry.com/8gcr/charts/harbor \
  --version 2.2.0 -n harbor --create-namespace -f my-values.yaml

Signed 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.0

Default Harbor image tags follow the chart appVersion: v2.16.0.