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 flag for non-interactive service discovery #65

Open
jfroy opened this issue Nov 25, 2024 · 0 comments
Open

Add flag for non-interactive service discovery #65

jfroy opened this issue Nov 25, 2024 · 0 comments

Comments

@jfroy
Copy link

jfroy commented Nov 25, 2024

Is your feature request related to a problem? Please describe.
The service discovery command requires user input to confirm. This makes it impossible to use as an init container in a kubernetes pod since there is no stdin or tty.

	fmt.Print("Would you like to add these services? [y/N] ")
	var response string
	fmt.Scanln(&response)

Describe the solution you'd like
Add a flag to bypass confirmation, or add tty detection to automatically skip it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant