From e594350307db15e9e230b9d830ed4544aed86f60 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 2 Jul 2020 12:52:55 +0300 Subject: [PATCH 1/4] Add notification controller to tk components --- cmd/tk/main.go | 2 +- manifests/bases/notification-controller/kustomization.yaml | 5 +++++ manifests/install/kustomization.yaml | 1 + manifests/rbac/role.yaml | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 manifests/bases/notification-controller/kustomization.yaml diff --git a/cmd/tk/main.go b/cmd/tk/main.go index a25d1fb9..5afaa56e 100644 --- a/cmd/tk/main.go +++ b/cmd/tk/main.go @@ -112,7 +112,7 @@ func init() { rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "", false, "print generated objects") rootCmd.PersistentFlags().StringSliceVar(&components, "components", - []string{"source-controller", "kustomize-controller"}, + []string{"source-controller", "kustomize-controller", "notification-controller"}, "list of components, accepts comma-separated values") } diff --git a/manifests/bases/notification-controller/kustomization.yaml b/manifests/bases/notification-controller/kustomization.yaml new file mode 100644 index 00000000..07291a16 --- /dev/null +++ b/manifests/bases/notification-controller/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- github.com/fluxcd/notification-controller/config//crd?ref=v0.0.1-alpha.2 +- github.com/fluxcd/notification-controller/config//manager?ref=v0.0.1-alpha.2 diff --git a/manifests/install/kustomization.yaml b/manifests/install/kustomization.yaml index f5e991b0..95a5835c 100644 --- a/manifests/install/kustomization.yaml +++ b/manifests/install/kustomization.yaml @@ -5,6 +5,7 @@ resources: - namespace.yaml - ../bases/source-controller - ../bases/kustomize-controller + - ../bases/notification-controller - ../rbac - ../policies transformers: diff --git a/manifests/rbac/role.yaml b/manifests/rbac/role.yaml index 7a919de3..a2085be4 100644 --- a/manifests/rbac/role.yaml +++ b/manifests/rbac/role.yaml @@ -9,6 +9,9 @@ rules: - apiGroups: ['kustomize.fluxcd.io'] resources: ['*'] verbs: ['*'] +- apiGroups: ['notification.fluxcd.io'] + resources: ['*'] + verbs: ['*'] - apiGroups: - "" resources: From a744b304a0a8e64db30b47ed8e28a1fba6b4a041 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 2 Jul 2020 12:58:01 +0300 Subject: [PATCH 2/4] Add notification controller to docs --- .github/workflows/docs.yaml | 4 ++++ docs/components/kustomize/controller.md | 2 +- docs/components/notification/controller.md | 16 ++++++++++++++++ docs/index.md | 3 +++ docs/roadmap/index.md | 6 +++--- mkdocs.yml | 6 ++++++ 6 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 docs/components/notification/controller.md diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index cbec3e85..8e6b2594 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -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/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/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 uses: mhausenblas/mkdocs-deploy-gh-pages@master env: diff --git a/docs/components/kustomize/controller.md b/docs/components/kustomize/controller.md index af699231..a9acf827 100644 --- a/docs/components/kustomize/controller.md +++ b/docs/components/kustomize/controller.md @@ -15,7 +15,7 @@ Features: - Health assessment of the deployed workloads - Runs pipelines in a specific order (depends-on relationship) - Prunes objects removed from source (garbage collection) -- Reports cluster state changes (Slack/Discord) +- Reports cluster state changes (alerting provided by notification-controller) Links: diff --git a/docs/components/notification/controller.md b/docs/components/notification/controller.md new file mode 100644 index 00000000..6d5fac41 --- /dev/null +++ b/docs/components/notification/controller.md @@ -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) diff --git a/docs/index.md b/docs/index.md index 46bae307..b66b709b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -41,6 +41,9 @@ Components: - [HelmRepository CRD](components/source/helmrepositories.md) - [Kustomize Controller](components/kustomize/controller.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) To get started with the toolkit please follow this [guide](get-started/index.md). diff --git a/docs/roadmap/index.md b/docs/roadmap/index.md index 172ebe8e..dff5ec19 100644 --- a/docs/roadmap/index.md +++ b/docs/roadmap/index.md @@ -28,12 +28,12 @@ Non-Goals Tasks - Review the git source and kustomize APIs -- Design the events API +- ~~Design the events API~~ - Implement events 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 -- Design the notifications and events filtering API -- Implement a notification controller for Slack, MS Teams, Discord, Rocket +- ~~Design the notifications and events filtering API~~ +- ~~Implement a notification controller for Slack, MS Teams, Discord, Rocket~~ - Implement the migration command in tk - Create a migration guide for `flux.yaml` kustomize users diff --git a/mkdocs.yml b/mkdocs.yml index 26e27d07..a60a69c0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -48,6 +48,12 @@ nav: - Overview: components/kustomize/controller.md - Kustomization CRD: components/kustomize/kustomization.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: - Overview: cmd/tk.md - Bootstrap: cmd/tk_bootstrap.md From 633d028841f2059d7f809d37ed9c8d3f1201ae7b Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 2 Jul 2020 13:14:56 +0300 Subject: [PATCH 3/4] Update kustomize controller and enable events --- .../bases/kustomize-controller/kustomization.yaml | 11 +++++++++-- manifests/bases/kustomize-controller/patch.yaml | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 manifests/bases/kustomize-controller/patch.yaml diff --git a/manifests/bases/kustomize-controller/kustomization.yaml b/manifests/bases/kustomize-controller/kustomization.yaml index 4b7ca6b7..aae438f2 100644 --- a/manifests/bases/kustomize-controller/kustomization.yaml +++ b/manifests/bases/kustomize-controller/kustomization.yaml @@ -1,5 +1,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: -- github.com/fluxcd/kustomize-controller/config//crd?ref=v0.0.1 -- github.com/fluxcd/kustomize-controller/config//manager?ref=v0.0.1 +- github.com/fluxcd/kustomize-controller/config//crd?ref=v0.0.2 +- github.com/fluxcd/kustomize-controller/config//manager?ref=v0.0.2 +patchesJson6902: +- target: + group: apps + version: v1 + kind: Deployment + name: kustomize-controller + path: patch.yaml diff --git a/manifests/bases/kustomize-controller/patch.yaml b/manifests/bases/kustomize-controller/patch.yaml new file mode 100644 index 00000000..e5ee6192 --- /dev/null +++ b/manifests/bases/kustomize-controller/patch.yaml @@ -0,0 +1,3 @@ +- op: add + path: /spec/template/spec/containers/0/args/0 + value: --events-addr=http://notification-controller/ From b11b9588f8b84a208dd778f9aefbcc550a2d6947 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 2 Jul 2020 13:28:24 +0300 Subject: [PATCH 4/4] Update tk docs --- .github/workflows/e2e.yaml | 2 +- docs/cmd/tk.md | 2 +- docs/cmd/tk_bootstrap.md | 2 +- docs/cmd/tk_bootstrap_github.md | 2 +- docs/cmd/tk_bootstrap_gitlab.md | 2 +- docs/cmd/tk_check.md | 2 +- docs/cmd/tk_completion.md | 2 +- docs/cmd/tk_create.md | 2 +- docs/cmd/tk_create_kustomization.md | 2 +- docs/cmd/tk_create_source.md | 2 +- docs/cmd/tk_create_source_git.md | 2 +- docs/cmd/tk_delete.md | 2 +- docs/cmd/tk_delete_kustomization.md | 2 +- docs/cmd/tk_delete_source.md | 2 +- docs/cmd/tk_delete_source_git.md | 2 +- docs/cmd/tk_export.md | 2 +- docs/cmd/tk_export_kustomization.md | 2 +- docs/cmd/tk_export_source.md | 2 +- docs/cmd/tk_export_source_git.md | 2 +- docs/cmd/tk_get.md | 2 +- docs/cmd/tk_get_kustomizations.md | 2 +- docs/cmd/tk_get_sources.md | 2 +- docs/cmd/tk_get_sources_git.md | 2 +- docs/cmd/tk_install.md | 2 +- docs/cmd/tk_resume.md | 2 +- docs/cmd/tk_resume_kustomization.md | 2 +- docs/cmd/tk_suspend.md | 2 +- docs/cmd/tk_suspend_kustomization.md | 2 +- docs/cmd/tk_sync.md | 2 +- docs/cmd/tk_sync_kustomization.md | 2 +- docs/cmd/tk_sync_source.md | 2 +- docs/cmd/tk_sync_source_git.md | 2 +- docs/cmd/tk_uninstall.md | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 55d1e926..2bee6398 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -41,7 +41,7 @@ jobs: ./bin/tk check --pre - name: tk install --version run: | - ./bin/tk install --version=master --namespace=test --verbose + ./bin/tk install --version=master --namespace=test --verbose --components="source-controller,kustomize-controller" - name: tk uninstall run: | ./bin/tk uninstall --namespace=test --crds --silent diff --git a/docs/cmd/tk.md b/docs/cmd/tk.md index 914459ae..934c56b8 100644 --- a/docs/cmd/tk.md +++ b/docs/cmd/tk.md @@ -67,7 +67,7 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. ### Options ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) -h, --help help for tk --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") diff --git a/docs/cmd/tk_bootstrap.md b/docs/cmd/tk_bootstrap.md index 2c9f428c..62a8d078 100644 --- a/docs/cmd/tk_bootstrap.md +++ b/docs/cmd/tk_bootstrap.md @@ -16,7 +16,7 @@ The bootstrap sub-commands bootstrap the toolkit components on the targeted Git ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_bootstrap_github.md b/docs/cmd/tk_bootstrap_github.md index c4764b74..d742e035 100644 --- a/docs/cmd/tk_bootstrap_github.md +++ b/docs/cmd/tk_bootstrap_github.md @@ -54,7 +54,7 @@ tk bootstrap github [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_bootstrap_gitlab.md b/docs/cmd/tk_bootstrap_gitlab.md index 70ee015e..2dc5e765 100644 --- a/docs/cmd/tk_bootstrap_gitlab.md +++ b/docs/cmd/tk_bootstrap_gitlab.md @@ -50,7 +50,7 @@ tk bootstrap gitlab [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_check.md b/docs/cmd/tk_check.md index 50405160..477c2d4e 100644 --- a/docs/cmd/tk_check.md +++ b/docs/cmd/tk_check.md @@ -32,7 +32,7 @@ tk check [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_completion.md b/docs/cmd/tk_completion.md index 8f68012c..710e0960 100644 --- a/docs/cmd/tk_completion.md +++ b/docs/cmd/tk_completion.md @@ -33,7 +33,7 @@ To configure your bash shell to load completions for each session add to your ba ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_create.md b/docs/cmd/tk_create.md index eba8678c..acc6c896 100644 --- a/docs/cmd/tk_create.md +++ b/docs/cmd/tk_create.md @@ -17,7 +17,7 @@ The create sub-commands generate sources and resources. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_create_kustomization.md b/docs/cmd/tk_create_kustomization.md index 1cfc020f..109e5b06 100644 --- a/docs/cmd/tk_create_kustomization.md +++ b/docs/cmd/tk_create_kustomization.md @@ -63,7 +63,7 @@ tk create kustomization [name] [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --export export in YAML format to stdout --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") diff --git a/docs/cmd/tk_create_source.md b/docs/cmd/tk_create_source.md index b3ff45c5..75b7594d 100644 --- a/docs/cmd/tk_create_source.md +++ b/docs/cmd/tk_create_source.md @@ -15,7 +15,7 @@ The create source sub-commands generate sources. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --export export in YAML format to stdout --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") diff --git a/docs/cmd/tk_create_source_git.md b/docs/cmd/tk_create_source_git.md index 276115fa..1efa6013 100644 --- a/docs/cmd/tk_create_source_git.md +++ b/docs/cmd/tk_create_source_git.md @@ -70,7 +70,7 @@ tk create source git [name] [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --export export in YAML format to stdout --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") diff --git a/docs/cmd/tk_delete.md b/docs/cmd/tk_delete.md index e961029f..38f409ab 100644 --- a/docs/cmd/tk_delete.md +++ b/docs/cmd/tk_delete.md @@ -16,7 +16,7 @@ The delete sub-commands delete sources and resources. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_delete_kustomization.md b/docs/cmd/tk_delete_kustomization.md index 99f2e6c7..b73dae88 100644 --- a/docs/cmd/tk_delete_kustomization.md +++ b/docs/cmd/tk_delete_kustomization.md @@ -19,7 +19,7 @@ tk delete kustomization [name] [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") -s, --silent delete resource without asking for confirmation diff --git a/docs/cmd/tk_delete_source.md b/docs/cmd/tk_delete_source.md index 14747756..678a5aa1 100644 --- a/docs/cmd/tk_delete_source.md +++ b/docs/cmd/tk_delete_source.md @@ -15,7 +15,7 @@ The delete source sub-commands delete sources. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") -s, --silent delete resource without asking for confirmation diff --git a/docs/cmd/tk_delete_source_git.md b/docs/cmd/tk_delete_source_git.md index 50ce4508..036a44d0 100644 --- a/docs/cmd/tk_delete_source_git.md +++ b/docs/cmd/tk_delete_source_git.md @@ -19,7 +19,7 @@ tk delete source git [name] [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") -s, --silent delete resource without asking for confirmation diff --git a/docs/cmd/tk_export.md b/docs/cmd/tk_export.md index 74871891..ca3bd632 100644 --- a/docs/cmd/tk_export.md +++ b/docs/cmd/tk_export.md @@ -16,7 +16,7 @@ The export sub-commands export resources in YAML format. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_export_kustomization.md b/docs/cmd/tk_export_kustomization.md index 986d6a4a..24102a9a 100644 --- a/docs/cmd/tk_export_kustomization.md +++ b/docs/cmd/tk_export_kustomization.md @@ -31,7 +31,7 @@ tk export kustomization [name] [flags] ``` --all select all resources - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_export_source.md b/docs/cmd/tk_export_source.md index 36d40b75..048190bd 100644 --- a/docs/cmd/tk_export_source.md +++ b/docs/cmd/tk_export_source.md @@ -17,7 +17,7 @@ The export source sub-commands export sources in YAML format. ``` --all select all resources - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_export_source_git.md b/docs/cmd/tk_export_source_git.md index 613fcd6e..615f7389 100644 --- a/docs/cmd/tk_export_source_git.md +++ b/docs/cmd/tk_export_source_git.md @@ -31,7 +31,7 @@ tk export source git [name] [flags] ``` --all select all resources - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_get.md b/docs/cmd/tk_get.md index 2f6d1620..97397bca 100644 --- a/docs/cmd/tk_get.md +++ b/docs/cmd/tk_get.md @@ -15,7 +15,7 @@ The get sub-commands print the statuses of sources and resources. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_get_kustomizations.md b/docs/cmd/tk_get_kustomizations.md index 2553ff02..5111dfb9 100644 --- a/docs/cmd/tk_get_kustomizations.md +++ b/docs/cmd/tk_get_kustomizations.md @@ -19,7 +19,7 @@ tk get kustomizations [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_get_sources.md b/docs/cmd/tk_get_sources.md index 31422e5b..7efa5635 100644 --- a/docs/cmd/tk_get_sources.md +++ b/docs/cmd/tk_get_sources.md @@ -15,7 +15,7 @@ The get source sub-commands print the statuses of the sources. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_get_sources_git.md b/docs/cmd/tk_get_sources_git.md index 673d7e30..3f16e7b5 100644 --- a/docs/cmd/tk_get_sources_git.md +++ b/docs/cmd/tk_get_sources_git.md @@ -19,7 +19,7 @@ tk get sources git [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_install.md b/docs/cmd/tk_install.md index e50bc263..8619d009 100644 --- a/docs/cmd/tk_install.md +++ b/docs/cmd/tk_install.md @@ -37,7 +37,7 @@ tk install [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_resume.md b/docs/cmd/tk_resume.md index 2c9b8b40..9be1c019 100644 --- a/docs/cmd/tk_resume.md +++ b/docs/cmd/tk_resume.md @@ -15,7 +15,7 @@ The resume sub-commands resume a suspended resource. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_resume_kustomization.md b/docs/cmd/tk_resume_kustomization.md index 8111f985..eb38bf47 100644 --- a/docs/cmd/tk_resume_kustomization.md +++ b/docs/cmd/tk_resume_kustomization.md @@ -20,7 +20,7 @@ tk resume kustomization [name] [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_suspend.md b/docs/cmd/tk_suspend.md index 29c58a5b..fad7a400 100644 --- a/docs/cmd/tk_suspend.md +++ b/docs/cmd/tk_suspend.md @@ -15,7 +15,7 @@ The suspend sub-commands suspend the reconciliation of a resource. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_suspend_kustomization.md b/docs/cmd/tk_suspend_kustomization.md index 172fa31d..3d48fc66 100644 --- a/docs/cmd/tk_suspend_kustomization.md +++ b/docs/cmd/tk_suspend_kustomization.md @@ -19,7 +19,7 @@ tk suspend kustomization [name] [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_sync.md b/docs/cmd/tk_sync.md index 27b07188..24412b5a 100644 --- a/docs/cmd/tk_sync.md +++ b/docs/cmd/tk_sync.md @@ -15,7 +15,7 @@ The sync sub-commands trigger a reconciliation of sources and resources. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_sync_kustomization.md b/docs/cmd/tk_sync_kustomization.md index bbeb248f..b7525aa6 100644 --- a/docs/cmd/tk_sync_kustomization.md +++ b/docs/cmd/tk_sync_kustomization.md @@ -32,7 +32,7 @@ tk sync kustomization [name] [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_sync_source.md b/docs/cmd/tk_sync_source.md index 75c5740e..4f3e9705 100644 --- a/docs/cmd/tk_sync_source.md +++ b/docs/cmd/tk_sync_source.md @@ -15,7 +15,7 @@ The sync source sub-commands trigger a reconciliation of sources. ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_sync_source_git.md b/docs/cmd/tk_sync_source_git.md index 21957240..bab0ec5b 100644 --- a/docs/cmd/tk_sync_source_git.md +++ b/docs/cmd/tk_sync_source_git.md @@ -27,7 +27,7 @@ tk sync source git [name] [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s) diff --git a/docs/cmd/tk_uninstall.md b/docs/cmd/tk_uninstall.md index 5fe04e35..91d5e77f 100644 --- a/docs/cmd/tk_uninstall.md +++ b/docs/cmd/tk_uninstall.md @@ -34,7 +34,7 @@ tk uninstall [flags] ### Options inherited from parent commands ``` - --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller]) + --components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,notification-controller]) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --namespace string the namespace scope for this operation (default "gitops-system") --timeout duration timeout for this operation (default 5m0s)