From 30cbd3f82a66b26edd9f8c430c97ab58b4f5fbde Mon Sep 17 00:00:00 2001 From: Debargho Ghosh Date: Tue, 14 Jun 2022 09:33:49 +0530 Subject: [PATCH] added steps for enabling notifications made review changes added link made review changes added procedure changed link --- .../argo-cd-custom-resource-properties.adoc | 1 + modules/gitops-argo-cd-notification.adoc | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 modules/gitops-argo-cd-notification.adoc diff --git a/cicd/gitops/argo-cd-custom-resource-properties.adoc b/cicd/gitops/argo-cd-custom-resource-properties.adoc index 29513310fe..901342edae 100644 --- a/cicd/gitops/argo-cd-custom-resource-properties.adoc +++ b/cicd/gitops/argo-cd-custom-resource-properties.adoc @@ -11,3 +11,4 @@ The `ArgoCD` custom resource is a Kubernetes Custom Resource (CRD) that describe include::modules/argo-cd-command-line.adoc[leveloffset=+1] include::modules/gitops-argo-cd-properties.adoc[leveloffset=+1] +include::modules/gitops-argo-cd-notification.adoc[leveloffset=+1] diff --git a/modules/gitops-argo-cd-notification.adoc b/modules/gitops-argo-cd-notification.adoc new file mode 100644 index 0000000000..62b6b7e551 --- /dev/null +++ b/modules/gitops-argo-cd-notification.adoc @@ -0,0 +1,24 @@ +// Module included in the following assemblies: +// +// * argo-cd-custom-resource-properties.adoc + +:_content-type: PROCEDURE +[id="gitops-argo-cd-notification_{context}"] += Enabling notifications with Argo CD instance + +To enable or disable the link:https://argo-cd.readthedocs.io/en/stable/operator-manual/notifications/[Argo CD notifications controller], set a parameter in the Argo CD custom resource. By default, notifications are disabled. To enable notifications, set the `enabled` parameter to `true` in the `.yaml` file: + +.Procedure + +. Set the `enabled` parameter to `true`: + +[source,yaml] +---- +apiVersion: argoproj.io/v1alpha1 +kind: ArgoCD +metadata: + name: example-argocd +spec: + notifications: + enabled: true +---- \ No newline at end of file