-
Notifications
You must be signed in to change notification settings - Fork 173
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
--confirm
not respected when deploying zarf package
#200
Comments
Note: This is an existing finding from before the big PR from Friday. It's not an urgent priority before we cut the next release. |
I'm also curious how we would non-interactively deploy the big bang example without kubescape. Since it is the only optional component omitting it would be the same as asking for the defaults, which in this case is "yes". I wonder if we had Zarf look for an empty string or something to decide that the user is saying "I don't want any of the components that are optional. Possible example:
|
Thanks for clarifying I was about to 🤦♂️ |
What I saw:
If I deploy the Big Bang example, which has an optional component called
kubescape
, it prompts me to choose whether I want Kubescape or notWhat I expected:
If I run
zarf package deploy foobar.tar.gz --confirm
I expect that it would never stop and prompt me to interact, because I used the--confirm
flag. It would either make a choice itself or fatal out if it cant. If the--components
flag was not used I'm thinking it should use the defaults that are set for each component.The text was updated successfully, but these errors were encountered: