Skip to content

feat: allow for configurable image push logic in the library #4002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Racer159
Copy link
Contributor

Description

This is an [alpha] level suggestion to allow a little more direct control over image pushing in the Zarf deployment API.

This is useful if you know the registry you are pushing to already has the images you need and you want to slim down parts of the Zarf package deploy.

Related Issue

Fixes #N/A

Checklist before merging

@Racer159 Racer159 requested review from a team as code owners July 17, 2025 20:45
Copy link

netlify bot commented Jul 17, 2025

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 7e9a0c7
🔍 Latest deploy log https://app.netlify.com/projects/zarf-docs/deploys/687960fa76e7700008cf4b6b

Copy link

codecov bot commented Jul 17, 2025

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pkg/packager/deploy.go 0.00% 4 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/packager/deploy.go 0.00% <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.

@@ -55,6 +55,8 @@ type DeployOptions struct {
NamespaceOverride string
// Remote Options for image pushes
RemoteOptions
// [alpha] Whether to skip image push
NoImagePush bool
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this corresponds directly to the param name in deployComponent but let's call the SDK-level configuration something active, likeDisableImagePush.

cc @zarf-dev/maintainers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants