Skip to content

firehydrant/slack-webhook-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FireHydrant API => Slack API example

This is an example of how to display FireHydrant API data in a Slack channel or DM on a regular basis.

Example Usage

Usage

  1. Create a Slack incoming webhook
  2. Add a Bot token and the Slack webhook to manifests/secret.yaml
  3. Update files/example.rb to include the information you'd like to display. This uses Slack's Block Kit to render the messages
  4. Run make to render the configmap manifest to include your new code
  5. Run make apply or `kubectl apply -f manifests/ -n YOUR_NAMESPACE
  6. Watch Slack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published