Fleet Introduces OCI Support for Helm Charts | SUSE Communities

Fleet Introduces OCI Support for Helm Charts


Rancher, the open source container management platform, uses Fleet to enable its continuous deployment features. Fleet brings GitOps functionality to Rancher.

Fleet in Rancher 2.7.0 can fetch Helm charts from OCI registries. Using OCI registries to store Helm charts is an increasingly popular storage method. It allows storing your charts in a registry alongside your container images. This unifies the storage options for charts and reduces friction.

Using a chart in an OCI registry is fairly simple. In your git repository, you reference the chart like this in a fleet.yaml file:

  chart: "oci://ghcr.io/fleetrepoci/guestbook"

You can use the version key if you want to reference a specific chart version.

  chart: "oci://ghcr.io/fleetrepoci/guestbook"
  version: 0.1.0

To use authenticated registries the GitRepo resource needs to reference a k8s secret.

Try it out with Fleet v0.5.0 or in Rancher v2.7.0. You can learn more about using Fleet with and without OCI registries in the Fleet documentation.