java-operator-plugins
java-operator-plugins copied to clipboard
Interactive prompt missing from `make bundle`
Feature Request
Describe the problem you need a feature to resolve.
When running make bundle in the Java plugins there is no prompts to fill out the CSV.
Describe the solution you'd like.
When make bundle is run and there is no existing CSV or a base CSV we should prompt for information that goes into the CSV. Here are the prompts I would expect:
Display name for the operator (required):
>
Description for the operator (required):
>
Provider's name for the operator (required):
>
Any relevant URL for the provider name (optional):
>
Comma-separated list of keywords for your operator (required):
>
Comma-separated list of maintainers and their emails (e.g. 'name1:email1, name2:email2') (required):
>
/language java
One quick and dirty option is to create a shell script to capture that input that could be called from the Makefile and passed into the CSV.
The prompts are currently baked into the generate manifests call which creates config directory with the kustomize bases. This would need to be pulled out and made more generic to be useful to plugins not using kustomize.