Skip to content
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

Add --confirm switch to zarf dev patch-git #2675

Open
frumpleswift opened this issue Jun 27, 2024 · 0 comments
Open

Add --confirm switch to zarf dev patch-git #2675

frumpleswift opened this issue Jun 27, 2024 · 0 comments
Labels
enhancement ✨ New feature or request good first issue 🥇 Good for newcomers

Comments

@frumpleswift
Copy link

Is your feature request related to a problem? Please describe.

Please add a --confirm flag to zarf dev patch-git to support automation of the patch process.

Describe alternatives you've considered

We have attempted to automate zarf dev patch-git in various ways, for example yes | zarf dev patch-git and the process invariably fails.

This is due to the implementation of the underlying survey go package, and is a known issue with the same:
https://github.com/AlecAivazis/survey?tab=readme-ov-file#what-kinds-of-io-are-supported-by-survey
AlecAivazis/survey#337 (comment)

Additional context

We are deploying zarf in a hub-spoke design pattern where the zarf cluster is separate from production clusters. We have a requirement that the zarf-agent not be deployed to clusters running production workloads, so we cannot rely on the mutating webhook to modify the git url.

@frumpleswift frumpleswift added the enhancement ✨ New feature or request label Jun 27, 2024
@AustinAbro321 AustinAbro321 added good first issue 🥇 Good for newcomers labels Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request good first issue 🥇 Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

2 participants