Skip to content

feat: stop managing scale down policy in CLI#4725

Merged
AustinAbro321 merged 3 commits into
mainfrom
manage-scale-down-policy-in-zarf-cli
Mar 19, 2026
Merged

feat: stop managing scale down policy in CLI#4725
AustinAbro321 merged 3 commits into
mainfrom
manage-scale-down-policy-in-zarf-cli

Conversation

@AustinAbro321
Copy link
Copy Markdown
Member

Description

We were setting the scale down policy in the cli and in the chart, which goes against ssa, and would cause failures if the field manager was not Zarf. This complexity is unnecessary, as we already have retry logic on image push that will trigger if the pod that is being pushed to is deleted through a HPA scale down

Checklist before merging

Signed-off-by: Austin Abro <[email protected]>
Signed-off-by: Austin Abro <[email protected]>
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 18, 2026

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit c81e322
🔍 Latest deploy log https://app.netlify.com/projects/zarf-docs/deploys/69bb29894fb10b00089920c2

Signed-off-by: Austin Abro <[email protected]>
@AustinAbro321 AustinAbro321 marked this pull request as ready for review March 18, 2026 22:39
@AustinAbro321 AustinAbro321 requested review from a team as code owners March 18, 2026 22:39
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/pkg/cluster/zarf.go 13.63% <ø> (-6.53%) ⬇️
src/pkg/packager/deploy.go 0.00% <ø> (ø)
src/pkg/packager/dev.go 0.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@brandtkeller brandtkeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm - I think we need to call out the implications. I don't imagine many people deploy older versions of the init package with newer versions of the CLI - but it could have a minor impact here.

@AustinAbro321 AustinAbro321 added this pull request to the merge queue Mar 19, 2026
Merged via the queue into main with commit d305f82 Mar 19, 2026
36 of 37 checks passed
@AustinAbro321 AustinAbro321 deleted the manage-scale-down-policy-in-zarf-cli branch March 19, 2026 03:58
@github-project-automation github-project-automation Bot moved this to Done in Zarf Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants