Skip to content

Add flag for non-interactive service discovery #65

Description

@jfroy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions