From 483467d8b9e0ceed4013ea40b81dc05ed9a60d6d Mon Sep 17 00:00:00 2001 From: Evans Mungai Date: Tue, 21 Apr 2026 17:38:16 +0100 Subject: [PATCH] chore: update preflight cli help text (#2027) Signed-off-by: Evans Mungai --- cmd/preflight/cli/root.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cmd/preflight/cli/root.go b/cmd/preflight/cli/root.go index 6c6a509d..9305095b 100644 --- a/cmd/preflight/cli/root.go +++ b/cmd/preflight/cli/root.go @@ -25,7 +25,13 @@ func RootCmd() *cobra.Command { Args: cobra.MinimumNArgs(1), Short: "Run and retrieve preflight checks in a cluster", Long: `A preflight check is a set of validations that can and should be run to ensure -that a cluster meets the requirements to run an application.`, +that a cluster meets the requirements to run an application. + +Unlike support-bundle, preflight does not support --load-cluster-specs because +preflight checks are designed to run before an application is installed or +upgraded. Since no deployment has occurred yet, there are no in-cluster specs +to discover. Preflight specs must be provided via a URL, local file path, or +stdin (e.g. "helm template ... | kubectl preflight -").`, SilenceUsage: true, SilenceErrors: true, PreRun: func(cmd *cobra.Command, args []string) {