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 install command to Botkube CLI #1133

Closed
mszostok opened this issue Jul 9, 2023 · 0 comments · Fixed by #1140, #1141 or #1134
Closed

Add install command to Botkube CLI #1133

mszostok opened this issue Jul 9, 2023 · 0 comments · Fixed by #1140, #1141 or #1134
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mszostok
Copy link
Contributor

mszostok commented Jul 9, 2023

Overview

A user needs to know whether the Botkube installation process is successful or not, and be informed of any errors. The current helm install process will time out if there are problems and the user needs to look at the pod logs to troubleshoot the issue. There are some common pitfalls with Botkube configuration that cause the installation to fail (e.g. bot not invited to channel, wrong channel name, etc.) and resolving those issues is cumbersome.

Acceptance Criteria

  • Add install command
    - use Helm Go SDK underneath to install the chart
    - Use Kubernetes API and stream Pod logs
    - print them to user only errors/warnings/info
    - ensure pretty print (logs are properly colored)
    - make sure it can be run with debug/verbose
    - support dry-run
    - support Botkube version and overrides
    - Respect KUBECONFIG env variable
  • Document this command on docs.botkube.io

New scope added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment