# 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. Refer to the [user guide](/docs/user_guide.md)
    for more info.
1.  Run `go build ./examples/slackcontroller` to build the controller.
1.  Create a [Slack incoming webhook](https://api.slack.com/incoming-webhooks)
    and get its URL to pass via the `-slack-url` flag on `slackcontroller`.
1.  Deploy the controller into a cluster, making sure you pass the incoming
    webhook URL to its `-slack-url` flag.

# 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. Refer to the [user guide](/docs/userguide.md)
    for more info.
1.  Run `go build ./examples/slackcontroller` to build the controller.
1.  Create a [Slack incoming webhook](https://api.slack.com/incoming-webhooks)
    and get its URL to pass via the `-slack-url` flag on `slackcontroller`.
1.  Deploy the controller into a cluster, making sure you pass the incoming
    webhook URL to its `-slack-url` flag.

Fix broken link to userguide
Fix broken link to userguide
