Skip to content

[Multi_K8s-Plugin] Fix DetermineStrategy to be multi-target aware#6672

Open
mohammedfirdouss wants to merge 1 commit intopipe-cd:masterfrom
mohammedfirdouss:feat/fix-determine-strategy-multi-target
Open

[Multi_K8s-Plugin] Fix DetermineStrategy to be multi-target aware#6672
mohammedfirdouss wants to merge 1 commit intopipe-cd:masterfrom
mohammedfirdouss:feat/fix-determine-strategy-multi-target

Conversation

@mohammedfirdouss
Copy link
Copy Markdown
Contributor

What this PR does:
Makes DetermineStrategy and DetermineVersions in the kubernetes_multicluster plugin aware of per-cluster manifest overrides (multiTargets). Previously both functions passed an empty KubernetesMultiTarget{} when loading manifests, so per-target manifest paths were silently ignored when deciding whether a deployment required progressive delivery.

Why we need it:
When a user configures different manifest paths per cluster (e.g. ./cluster-us and ./cluster-eu), a change only to one cluster's deployment.yaml would not trigger PipelineSync — the strategy check was loading from the app-level manifest path and missing the per-target change entirely. This could cause a workload update to be deployed via QuickSync, bypassing canary and baseline stages completely.

Which issue(s) this PR fixes:

Fixes #6446

Does this PR introduce a user-facing change?:

  • How are users affected by this change: DetermineStrategy now correctly triggers PipelineSync when a workload change is made to any configured multiTarget, even if the app-level manifests are unchanged.
  • Is this breaking change: No
  • How to migrate (if breaking change): N/A

Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LFX Mentorship T-1 2026] Kubernetes Multi-Cluster Plugin #6446

1 participant