Slack Approval Process #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the spoke-agent is deployed in a namespace, the first thing it does is reach out to the
/registerendpoint to announce itself. Right now the only way to approve the application is to use a client cert with a specific OU and that'll send a request to approve the application.Instead I would like the Hub to send a slack message announcing the new application that's attempting to be registered, and then have some way to have a slack user interact with the message to approve it.
One example for this might look like:
Hub sends "A new application is waiting for approval app.fixergrid.net. React with ✅ to approve or ❌ to deny"
When a user in that channel reacts, the Hub should thread a message that says who approved the application and when, since reacts can be removed by the user.
On approval the Hub should emit the
ApplicationRegistrationApprovedevent so that the rest of the application can respond accordingly.On second thought, instead of requiring us to go through Slack, we already have Okta groups for some nautilus services, so instead I'll make a UI that let's us do the approval process.