zarf-dev / zarf

DevSecOps for Air Gap & Limited-Connection Systems. https://zarf.dev/
Apache License 2.0
1.34k stars 162 forks source link

Conditional prompt for optional components #2930

Open knhsll opened 2 weeks ago

knhsll commented 2 weeks ago

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

When using optional components alongside prompts for secrets, there is no option to skip the prompt if the component is not going to be deployed.

Describe the solution you'd like

Implement a mechanism that detects whether an optional component is selected for deployment. If it is not, the system should automatically skip any associated prompts for secrets, streamlining the deployment process and avoiding unnecessary user input.