weaveworks / weave-gitops

Weave GitOps provides insights into your application deployments, and makes continuous delivery with GitOps easier to adopt and scale across your teams.
https://docs.gitops.weave.works/
Apache License 2.0
924 stars 153 forks source link

Add suspended annotations #4131

Closed ranatrk closed 11 months ago

ranatrk commented 11 months ago

Closes BE part of https://github.com/weaveworks/weave-gitops-enterprise/issues/3546

What changed? Add suspended-by and suspended-comment annotations to objects being suspended Remove suspended-by and suspended-comment annotations from objects being resumed

Why was this change made? To log who/what performed the suspending action on the resource

How was this change implemented? Adding the annotations needed indicating suspended-by and suspended-comment that could possibly include extra details regarding the suspension

How did you validate the change?

Release notes

Documentation Changes

foot commented 11 months ago

Lets add this little snipped to the makefile and run it to fix the ci lint job

https://github.com/weaveworks/weave-gitops/pull/4005/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R145-R148