mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 21:09:40 +02:00
The root cause of the CI failure was that GroupReleasesByDependency was changed to use !r.Filtered instead of opts.SelectedReleases for the DAG plan's Only field. When no selectors are active (like helmfile destroy), all releases are unfiltered, causing all releases to be planned for deletion - including uninstalled ones. Fix: Use opts.SelectedReleases when provided, fall back to Filtered flag otherwise. Also remove unnecessary SelectedReleases block from PlanReleases since GroupReleasesByDependency now handles it directly. Restore test snapshots from main as the behavior should now match. Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com> Agent-Logs-Url: https://github.com/helmfile/helmfile/sessions/170cecc0-7a3e-4326-98d3-4f2bffee1848
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
merged environment: &{default map[] map[] map[]}
|
|
10 release(s) found in helmfile.yaml
|
|
|
|
processing 5 groups of releases in this order:
|
|
GROUP RELEASES
|
|
1 default//logging, default//front-proxy
|
|
2 default//database, default//servicemesh
|
|
3 default//anotherbackend
|
|
4 default//backend-v2
|
|
5 default//frontend-v2, default//frontend-v3
|
|
|
|
processing releases in group 1/5: default//logging, default//front-proxy
|
|
processing releases in group 2/5: default//database, default//servicemesh
|
|
processing releases in group 3/5: default//anotherbackend
|
|
processing releases in group 4/5: default//backend-v2
|
|
processing releases in group 5/5: default//frontend-v2, default//frontend-v3
|
|
Affected releases are:
|
|
anotherbackend (charts/anotherbackend) UPDATED
|
|
backend-v1 (charts/backend) DELETED
|
|
backend-v2 (charts/backend) UPDATED
|
|
database (charts/mysql) UPDATED
|
|
front-proxy (stable/envoy) UPDATED
|
|
frontend-v1 (charts/frontend) DELETED
|
|
frontend-v3 (charts/frontend) UPDATED
|
|
logging (charts/fluent-bit) UPDATED
|
|
servicemesh (charts/istio) UPDATED
|
|
|