Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Introduce a new CR for managing Notifications Configuration #1264

Conversation

iam-veeramalla
Copy link
Collaborator

@iam-veeramalla iam-veeramalla commented Feb 22, 2024

What type of PR is this?

/kind enhancement

What does this PR do / why we need it:
Fixes #1265
Closes #1265

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #1265

How to test changes / Special notes to the reviewer:

  • Added unit tests to validate the behavior.
  • Update/Delete the default(OOTB) NotificationsConfiguration CR to see if the changes are updated as expected in the argocd-notifications-cm

Note: This PR also updates docs to provide Instructions on how to update the NotificationsConfiguration CR.

…tifications-cm

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
api/v1alpha1/notificationsconfiguration_types.go Outdated Show resolved Hide resolved
api/v1alpha1/notificationsconfiguration_types.go Outdated Show resolved Hide resolved
controllers/argocd/notifications.go Outdated Show resolved Hide resolved
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Copy link
Collaborator

@jaideepr97 jaideepr97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Locally tested it, seems to work fine
LGTM
Thanks a lot @iam-veeramalla !

Copy link
Collaborator

@svghadi svghadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested out the changes. Looks good. Left a doc suggestion. Thanks!!

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
@iam-veeramalla iam-veeramalla merged commit 2aebc22 into argoproj-labs:master Feb 27, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a new custom resource to manage the argocd-notifications-cm
3 participants