Flux doesn't redeploy when local Helm charts changes #4882
-
My project is built from multiple helm resources (charts) locally (git repo).
a.yaml apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
spec:
interval: 1m
chart:
spec:
chart: ./charts/app-stack
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
values:
... gotk-sync.yaml apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
path: ./clusters/test
prune: true
sourceRef:
kind: GitRepository
name: flux-system How can I trigger a redeploy when changing my charts (files in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to set |
Beta Was this translation helpful? Give feedback.
You need to set
chart.reconcileStrategy
toRevision
, docs https://fluxcd.io/flux/guides/helmreleases/#release-when-a-source-revision-changes-for-git-and-cloud-storage