Flux CD
Medium
Integration
In Flux 2.10, how can a HelmRelease install an OCI chart without a separately declared source object?
Select your answer:
Show answer and explanation
Answer: Set spec.chart.kind: OCIRepository with spec.chart.spec.url
Explanation
The chart template accepts OCIRepository as spec.chart.kind, and helm-controller creates and manages that OCIRepository in the release namespace. spec.chartRef still works but points at an OCIRepository you declare yourself. A template lets the chart version and values change together in one commit.
More medium Flux CD questions
- A Kustomization must only be applied after another Kustomization that installs CRDs is ready. Which field do you set?
- What does spec.wait: true do on a Flux Kustomization?
- How do you substitute a per-cluster value such as ${cluster_region} into the manifests a Flux Kustomization applies?
- How does Flux decrypt Secrets that are stored encrypted with SOPS in Git?
- What does the --no-cross-namespace-refs=true flag on the Flux controllers do?
- How can a Kustomization apply resources with a tenant's limited permissions instead of kustomize-controller's own?