getporter / porter

Porter enables you to package your application artifact, client tools, configuration and deployment logic together as an installer that you can distribute, and install with a single command.
https://porter.sh
Apache License 2.0
1.22k stars 204 forks source link

Support skipping parameters and credentials during generate #3100

Closed kichristensen closed 3 months ago

kichristensen commented 4 months ago

What does this change

Adds a skip option to the prompt allow users to skip parameter and credential generation of specific entries.

The prompt will look like this:

Generating new credential test2 from bundle porter-hello

==> 2 credentials required for bundle porter-hello

? How would you like to set credential "kubeconfig"
   [Use arrows to move, enter to select, type to filter]
  secret
  specific value
  environment variable
  file path
  shell command
> skip

What issue does it fix

Closes #3074 and closes #3075

Notes for the reviewer

No tests have been created for this as it requires user interaction

Checklist