slackcontroller

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

README

SlackController

A sample controller that demonstrates how to write a controller that targets the cluster registry. This controller will post messages to a Slack channel when a cluster is added to or removed from the registry.

Quickstart

  1. Set up a cluster registry. You can use crinit to do so.
  2. Run bazel build //examples/slackcontroller to build the controller.
  3. Create a Slack incoming webhook and get its URL to pass via the -slack-url flag on slackcontroller.
  4. Deploy the cluster registry into a cluster, making sure you pass the incoming webhook URL to its -slack-url flag.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL