Flux CD - ### Describe the bug Hi all, I am trying to install spark from oci: https://artifacthub.io/packages/helm/bitnami/spark ``` apiVersion: v1 kind: Namespace metadata: name: spark --- apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: OCIRepository metadata: name: bitnami-spark namespace: flux-system spec: interval: 10m url: oci://registry-1.docker.io/bitnamicharts/spark --- apiVersion: helm.toolkit.fluxcd.

## The fix

First check your apiVersion: use HelmRelease v2, not v2beta1, which still requires spec.chart. If the error persists on v2, the reviewed case turned out to be stale CRDs from the Azure Flux extension and the error disappeared on a fresh cluster, so check for a stale or conflicting extension install.

Thread: gh:fluxcd/flux2#5116