Helmrelease: How to refers to valuesFiles (spec.chart) inside the chart with an Helm OCI repository (spec.chartRef) ?
#5315
-
|
Hello there ! I want to deploy a chart by referencing values inside the chart like specified here in the documentation : https://fluxcd.io/flux/guides/helmreleases/#refer-to-values-inside-the-chart However, I use an OCI Repository to hold my helm chart. And I have to use To sum up I want to do something like this (but I can't cause ---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: my-wonderful-release
spec:
interval: 15m
chartRef:
kind: OCIRepository
name: my-oci-repo
chart:
spec:
valuesFiles:
- values.yaml
- values-production.yaml
... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I believe you put the new values files under apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: my-wonderful-release
spec:
interval: 15m
chartRef:
kind: OCIRepository
name: my-oci-repo
valuesFrom:
- values.yaml
- values-production.yamlThe HelmRelease spec might help you out: https://fluxcd.io/flux/components/helm/api/v2/#helm.toolkit.fluxcd.io/v2.HelmReleaseSpec |
Beta Was this translation helpful? Give feedback.
-
|
The |
Beta Was this translation helpful? Give feedback.
The
valuesFilesare not support for OCIRepository source, you need to move these to ConfigMap/Secret generators.