Sign inSign up

airbloc/fluxslack

By airbloc

•Updated over 6 years ago

Fluxcloud Slack Alert Webhook

Image
0

10K+

airbloc/fluxslack repository overview

⁠fluxslack

Notifies flux events into your own Slack channel using fluxcloud⁠.

⁠Set Up

You need both flux⁠ and fluxcloud⁠ to be configured. For details, please refer their documentation.

⁠Configuring flux-slack-alert into your cluster

You may need to deploy fluxslack with fluxcloud, with setting up the following configurations.

⁠Environment Variables
NameDescriptionRequiredDefault
SLACK_WEBHOOK_URLSlack Webhook Service URL.O
CLUSTER_NAMEName of the Kubernetes cluster.O
VCS_ROOT_URLURL of the GitOps repository.O
SLACK_CHANNELSlack channel ID or name for the alert.(Webhook Settings)
SLACK_USER_NAMEDisplayed user name of the bot.(Webhook Settings)
MESSAGE_POSTFIXA message appended to the header message. (e.g. you can tag someone)(Webhook Settings)
WORKLOAD_URI_TEMPLATEA URI template for linking workload detailskubernetes-dashboard⁠ URL, Supposing that it is deployed on kubernetes-dashboard namespace with proxy running on localhost:8001
OMITTED_REPOSITORY_URLA comma-separated list for known container repository URLs which can be skipped in alert (e.g. Amazon ECR base URL)
⁠Configuring fluxcloud

You need to set up following environment variables to fluxcloud:

  • EXPORTER_TYPE: webhook
  • EXPORTER_URL: http://<ENDPOINT>/v1/webhook

You may need to delete your Slack integrations from fluxcloud if you have configured before.

⁠License

The fluxslack project is licensed under the MIT License, also included in our repository in the LICENSE file.

Tag summary

Content type

Image

Digest

Size

11.5 MB

Last updated

over 6 years ago

docker pull airbloc/fluxslack:v0.1.9