From 5cf0dcc77d568cb34ecf71dc39f995adbb594426 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Fri, 13 Dec 2024 10:53:39 +0200 Subject: [PATCH] Add preview note to `debug hr` Signed-off-by: Stefan Prodan --- cmd/flux/debug_helmrelease.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/flux/debug_helmrelease.go b/cmd/flux/debug_helmrelease.go index 9997eeb8..7a5c934d 100644 --- a/cmd/flux/debug_helmrelease.go +++ b/cmd/flux/debug_helmrelease.go @@ -35,8 +35,8 @@ var debugHelmReleaseCmd = &cobra.Command{ Use: "helmrelease [name]", Aliases: []string{"hr"}, Short: "Debug a HelmRelease resource", - Long: `The debug helmrelease command can be used to troubleshoot failing Helm release reconciliations. -WARNING: This command will print sensitive information if Kubernetes Secrets are referenced in the HelmRelease .spec.valuesFrom field.`, + Long: withPreviewNote(`The debug helmrelease command can be used to troubleshoot failing Helm release reconciliations. +WARNING: This command will print sensitive information if Kubernetes Secrets are referenced in the HelmRelease .spec.valuesFrom field.`), Example: ` # Print the status of a Helm release flux debug hr podinfo --show-status