-
Notifications
You must be signed in to change notification settings - Fork 277
Preserve ArgoCD Notification state #193
Preserve ArgoCD Notification state #193
Conversation
Signed-off-by: John Watson <johnw@planetscale.com>
I have built docker image from this PR |
Interesting... I'm also running an image from this PR and it is behaving as expected The applicationset image I'm running is also based off this PR: argoproj-labs/argocd-notifications#241 But I'm not seeing any differences to the annotation key used by the notifications controller in recent history either, so not sure :( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dctrwatson , just one small tweak and good to go.
@@ -438,7 +445,16 @@ func (r *ApplicationSetReconciler) createOrUpdateInCluster(ctx context.Context, | |||
action, err := utils.CreateOrUpdate(ctx, r.Client, found, func() error { | |||
// Copy only the Application/ObjectMeta fields that are significant, from the generatedApp | |||
found.Spec = generatedApp.Spec | |||
|
|||
// Preserve argo cd notifications state |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny tweak:
Can you change this line to
// Preserve argo cd notifications state (https://github.com/argoproj-labs/applicationset/issues/180)
(ie appending the issue # for some context)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @dctrwatson
any ETA on this to be released? |
While #186 would probably be a long-term enhancement, this at least fixes #180 in the near term