flux2
flux2 copied to clipboard
Flux reconcile not triggering helm test
Describe the bug
As part of automating helm test , we enabled test flag in HelmRelease manifest of our application. Hence now our application helm chart successfully deployed by flux and once resource is up "helm test" is invoked automatically. But when we make some changes in manifest and flux reconcile is done, again helm test is NOT invoked. As of now helm test is executed only once and that is after starting up the application in the cluster. What if during application running we make some flux reconcile to pull some kind of changes for application.
Steps to reproduce
- Deploy any application helm chart with flux test enabled.
- Once Pod is up and running , verify test pod is created and helm test executed.
- Now make some changes to application release yaml (example - change some variable key value pair in helm release manifest)
- Now do flux reconcile , so that updated new release is pulled to the k8s cluster.
- But we see this time Helm test is not invoked.
Expected behavior
Everytime we do make any changes to Helm Release manifests or pull any changes by flux reconcile , "helm test" should get executed.
Screenshots and recordings
No response
OS / Distro
Windows 10
Flux version
v0.24.1
Flux check
$ flux check ► checking prerequisites ✗ flux 0.24.1 <0.26.0 (new version is available, please upgrade) ✔ Kubernetes 1.20.4+k3s1 >=1.19.0-0 ► checking controllers ✔ helm-controller: deployment ready ► ghcr.io/fluxcd/helm-controller:v0.14.1 ✔ kustomize-controller: deployment ready ► ghcr.io/fluxcd/kustomize-controller:v0.18.2 ✔ notification-controller: deployment ready ► ghcr.io/fluxcd/notification-controller:v0.19.0 ✔ source-controller: deployment ready ► ghcr.io/fluxcd/source-controller:v0.19.2 ✔ all checks passed
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct