Skip to content

Conversation

@radTuti
Copy link
Contributor

@radTuti radTuti commented Jan 7, 2026

Description

This add updates to Calico's helm charts specifically the following:

  • pushing charts to an OCI registry: the tigera-operator chart now gets pushed to quay.io/calico/charts for use.

    # template: helm <applicable_chart_cmd> oci://quay.io/calico/charts/tigera-operator <flags_as_needed>
    helm pull oci://quay.io/calico/charts/tigera-operator --version VERSION

    NOTE: Only new releases will have charts available in the OCI registry. Older releases will be best efforts.

  • update helm index during release. This should replace the current approach of rebuilding the entire helm index which leads to incorrect create date.

    NOTE: Once this goes into all actively released branches, the existing approach will be discontinued and potentially the helm index will be updated for past release to reflect the currect created date.

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

feat: push helm charts to OCI registry (`quay.io/calico/charts`)
fix: use accurated created date for chart entry in helm index

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

This allows Helm charts to be published to container registries with OCI support.
Currently only pushing to quay.io at quay.io/calico/charts and charts can be pulled using:

```sh
helm pull oci://quay.io/calico/charts/tigera-operator --version VERSION
```

wrt: projectcalico#11376
@radTuti radTuti requested a review from a team as a code owner January 7, 2026 17:38
Copilot AI review requested due to automatic review settings January 7, 2026 17:38
@radTuti radTuti requested review from a team and lwr20 January 7, 2026 17:41
@radTuti radTuti added release-note-required Change has user-facing impact (no matter how small) docs-not-required Docs not required for this change docs-pr-required Change is not yet documented and removed docs-not-required Docs not required for this change labels Jan 7, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for publishing Calico helm charts to an OCI registry (quay.io/calico/charts) and implements incremental helm index updates during releases to preserve accurate creation dates.

Key changes:

  • Helm charts are now pushed to OCI registries via helm push in addition to GitHub releases
  • Helm index is now incrementally updated by merging with the existing index instead of full rebuilds
  • New CLI flags and configuration options for helm registry management and S3 bucket access

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
release/pkg/tasks/hashrelease.go Updated comments to clarify versionless chart copy behavior
release/pkg/postrelease/helm_test.go Added OCI registry tests to validate charts can be pulled from new registries
release/pkg/manager/calico/options.go Added options for AWS profile, S3 bucket, chart publishing, and helm registries
release/pkg/manager/calico/manager.go Implemented helm chart publishing to OCI registries, incremental index building with merge, and S3 upload logic
release/internal/utils/utils.go Added constants for TigeraOperatorChart name and CalicoHelmRepoURL
release/internal/registry/registry.go Defined default helm registries list (quay.io/calico/charts)
release/internal/hashreleaseserver/server.go Fixed typo in comment
release/cmd/release.go Wired new CLI flags for chart publishing and AWS/S3 configuration
release/cmd/hashrelease.go Added helm registry and chart publishing flags to hashrelease commands
release/cmd/flags.go Defined new CLI flags for helm registries, AWS profile, S3 bucket, and chart publishing
release/Makefile Added dependency on helm binary for hashrelease-publish target
Makefile Made chart destination directory configurable via CHART_DESTINATION variable
.semaphore/release/release.yml Added helm registry login to quay.io in CI pipeline
.semaphore/release/hashrelease.yml Added helm registry login to quay.io in CI pipeline

- fix typo
- add check for helm registry and s3 bucket when publishing charts
- use static helm registry in release notes template
- add `oci://` prefix to registry when pushing charts
- fix postrelease tests for helm charts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-pr-required Change is not yet documented release-note-required Change has user-facing impact (no matter how small)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant