Add notification controller to docs

pull/73/head
stefanprodan 5 years ago
parent e594350307
commit a744b304a0

@ -20,6 +20,10 @@ jobs:
curl https://raw.githubusercontent.com/fluxcd/source-controller/master/docs/spec/v1alpha1/helmrepositories.md > docs/components/source/helmrepositories.md curl https://raw.githubusercontent.com/fluxcd/source-controller/master/docs/spec/v1alpha1/helmrepositories.md > docs/components/source/helmrepositories.md
curl https://raw.githubusercontent.com/fluxcd/kustomize-controller/master/docs/api/kustomize.md > docs/components/kustomize/api.md curl https://raw.githubusercontent.com/fluxcd/kustomize-controller/master/docs/api/kustomize.md > docs/components/kustomize/api.md
curl https://raw.githubusercontent.com/fluxcd/kustomize-controller/master/docs/spec/v1alpha1/kustomization.md > docs/components/kustomize/kustomization.md curl https://raw.githubusercontent.com/fluxcd/kustomize-controller/master/docs/spec/v1alpha1/kustomization.md > docs/components/kustomize/kustomization.md
curl https://raw.githubusercontent.com/fluxcd/notification-controller/master/docs/api/notification.md > docs/components/notification/api.md
curl https://raw.githubusercontent.com/fluxcd/notification-controller/master/docs/spec/v1alpha1/event.md > docs/components/notification/event.md
curl https://raw.githubusercontent.com/fluxcd/notification-controller/master/docs/spec/v1alpha1/alert.md > docs/components/notification/alert.md
curl https://raw.githubusercontent.com/fluxcd/notification-controller/master/docs/spec/v1alpha1/provider.md > docs/components/notification/provider.md
- name: Deploy docs - name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master uses: mhausenblas/mkdocs-deploy-gh-pages@master
env: env:

@ -15,7 +15,7 @@ Features:
- Health assessment of the deployed workloads - Health assessment of the deployed workloads
- Runs pipelines in a specific order (depends-on relationship) - Runs pipelines in a specific order (depends-on relationship)
- Prunes objects removed from source (garbage collection) - Prunes objects removed from source (garbage collection)
- Reports cluster state changes (Slack/Discord) - Reports cluster state changes (alerting provided by notification-controller)
Links: Links:

@ -0,0 +1,16 @@
# Notification Controller
The Notification Controller is a Kubernetes operator,
specialized in dispatching events to external systems such as
Slack, Microsoft Teams, Discord and Rocket chat.
The controller receives events via HTTP and dispatch them to external
webhooks based on event severity and involved objects.
The controller can be configured with Kubernetes custom resources that
define how events are processed and where to dispatch them.
Links:
- Source code [fluxcd/notification-controller](https://github.com/fluxcd/notification-controller)
- Specification [docs](https://github.com/fluxcd/notification-controller/tree/master/docs/spec)

@ -41,6 +41,9 @@ Components:
- [HelmRepository CRD](components/source/helmrepositories.md) - [HelmRepository CRD](components/source/helmrepositories.md)
- [Kustomize Controller](components/kustomize/controller.md) - [Kustomize Controller](components/kustomize/controller.md)
- [Kustomization CRD](components/kustomize/kustomization.md) - [Kustomization CRD](components/kustomize/kustomization.md)
- [Notification Controller](components/notification/controller.md)
- [Provider CRD](components/notification/provider.md)
- [Alert CRD](components/notification/alert.md)
- Helm Controller (TBA) - Helm Controller (TBA)
To get started with the toolkit please follow this [guide](get-started/index.md). To get started with the toolkit please follow this [guide](get-started/index.md).

@ -28,12 +28,12 @@ Non-Goals
Tasks Tasks
- Review the git source and kustomize APIs - Review the git source and kustomize APIs
- Design the events API - ~~Design the events API~~
- Implement events in source and kustomize controllers - Implement events in source and kustomize controllers
- Implement Prometheus metrics in source and kustomize controllers - Implement Prometheus metrics in source and kustomize controllers
- Make the kustomize-controller apply/gc events on-par with Flux v1 apply events - Make the kustomize-controller apply/gc events on-par with Flux v1 apply events
- Design the notifications and events filtering API - ~~Design the notifications and events filtering API~~
- Implement a notification controller for Slack, MS Teams, Discord, Rocket - ~~Implement a notification controller for Slack, MS Teams, Discord, Rocket~~
- Implement the migration command in tk - Implement the migration command in tk
- Create a migration guide for `flux.yaml` kustomize users - Create a migration guide for `flux.yaml` kustomize users

@ -48,6 +48,12 @@ nav:
- Overview: components/kustomize/controller.md - Overview: components/kustomize/controller.md
- Kustomization CRD: components/kustomize/kustomization.md - Kustomization CRD: components/kustomize/kustomization.md
- Kustomize API Reference: components/kustomize/api.md - Kustomize API Reference: components/kustomize/api.md
- Notification Controller:
- Overview: components/notification/controller.md
- Profile CRD: components/notification/profile.md
- Alert CRD: components/notification/alert.md
- Event: components/notification/event.md
- Notification API Reference: components/notification/api.md
- Toolkit CLI: - Toolkit CLI:
- Overview: cmd/tk.md - Overview: cmd/tk.md
- Bootstrap: cmd/tk_bootstrap.md - Bootstrap: cmd/tk_bootstrap.md

Loading…
Cancel
Save