You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@PrasadG193 i have added small logic to remove the unwanted string from clustername, i have tested that using slack but not with other channels, if the behavior is different then we can add separate method to resolve that
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
- Bug fix Pull Request
##### SUMMARY
When clustername is passed to botkube from command and if that clustername contains valid domain then slack automatically adds <http:// to the url
eg.
if command is `@BotKube get pods --cluster-name xyz.alpha-sense.org` then in botkube we get cluster name as `<http://xyz.alpha-sense.org|xyz.alpha-sense.org>`
#### Solution:
Added small logic in executor code to remove the unwanted string
Fixes#460
Describe the bug
My @botkube is not working on my cluster charizard.alpha-sense.org - its throwing invalid request error
To Reproduce
Steps to reproduce the behavior:
@botkube commands list
@botkube get pods --cluster-name charizard.alpha-sense.org
@botkube notifier status
@botkube get deployment --cluster-name charizard.alpha-sense.org
Expected behavior
Expected Command output is not coming in slack channel
Screenshots
Additional context
It treats my cluster name as hyperlink even after removing hyperlink from slack format
The text was updated successfully, but these errors were encountered: