vmware-archive/kubewatch

How to configure slack to post as an app.

Closed this issue · 1 comments

I am struggling to make the slack app post an event as the app, instead of impersonating a user.

Specifically, it seems that we only allow kubewatch to post as a user, per this line,

params.AsUser = true

Shouldn't we also allow slack to post as a app?

One way would be to have an extra configuration, KW_SLACK_AS_USER which by is true by default (for backward compatibility).

Please note that the as_user parameter may not be used by new Slack apps. Read more about Authorship to understand how as_user works for classic Slack apps. -- Slack API docs

Nvmd, this works as expected with bot users.