From 59c759e88593f45a4ff4436b3f5942916e641a8f Mon Sep 17 00:00:00 2001 From: Travis Mattera Date: Wed, 13 Sep 2023 10:12:06 -0700 Subject: [PATCH] Update cmd/flux/suspend.go Set annotation key string to suspend.toolkit.fluxcd.io/reason Co-authored-by: Stefan Prodan Signed-off-by: Travis Mattera --- cmd/flux/suspend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/flux/suspend.go b/cmd/flux/suspend.go index e577e7eb..0ab7a917 100644 --- a/cmd/flux/suspend.go +++ b/cmd/flux/suspend.go @@ -44,7 +44,7 @@ func init() { suspendCmd.PersistentFlags().BoolVarP(&suspendArgs.all, "all", "", false, "suspend all resources in that namespace") suspendCmd.PersistentFlags().StringVarP(&suspendArgs.reason, "reason", "r", "suspended", - "set a reason for why the resource is suspended") + "set a reason for why the resource is suspended, the reason will show up under the suspend.toolkit.fluxcd.io/reason annotation") rootCmd.AddCommand(suspendCmd) }