Replies: 2 comments 3 replies
-
This is how you should define the Helm OCI: apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: podinfo
namespace: default
spec:
interval: 10m
url: oci://ghcr.io/stefanprodan/charts/podinfo
ref:
semver: ">6.0.0"
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: podinfo
namespace: default
spec:
interval: 10m
releaseName: podinfo
chartRef:
kind: OCIRepository
name: podinfo |
Beta Was this translation helpful? Give feedback.
0 replies
-
There won't be any new chart versions' automatic discovery using an OCIRepository as stated by @carrodher, which is the main goal here. Am I right? By the way, OCI references on index.yaml files for Helm is sth that works. I personally reported the issue some time ago and I can confirm it's addressed, see: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
We’re currently testing Flux’s usability with an index.yaml based on OCI URLs. Flux supports both traditional Helm repositories and OCI-based Helm repositories, as documented here:
However, when using OCI repositories, there is no defined interval for the Flux Source Controller to check for updates in the Helm repo, meaning there’s no automatic reconciliation process. This differs from traditional Helm repos, which benefit from regular updates due to the presence of an index.
A HelmRelease in Flux defines an "interval" (see HelmRelease docs) which defines the interval at which the HelmRelease is reconciled. This reconciliation process includes upgrading a chart release if there's a new chart version published in the Helm repository. However, when working with OCI Helm repositories, Flux cannot inherently detect new chart versions.
This is the reason why a Helm repository index (regardless it uses OCI-based URLs or not) is key for automating upgrading to new chart versions with Flux.
Testing Helm OCI-based URLs on Helm repo index
It seems that Flux expects "classic" Helm repositories to use HTTP(S) URLs and doesn’t yet support OCI URLs for Helm repositories.
Beta Was this translation helpful? Give feedback.
All reactions