From 12dc58ebf7d8445d7df2d76294b4e1afa551ae25 Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Mon, 18 Aug 2025 11:42:40 +1200 Subject: [PATCH] chore: update CronJob casing for create job help use the resource Kind casing for `CronJob` in the note for the `from` argument help Kubernetes-commit: 76e5929d1a140678f94964142e4cc1566dd1a90c --- pkg/cmd/create/create_job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/create/create_job.go b/pkg/cmd/create/create_job.go index 811720d4f..8ec8f4119 100644 --- a/pkg/cmd/create/create_job.go +++ b/pkg/cmd/create/create_job.go @@ -106,7 +106,7 @@ func NewCmdCreateJob(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *c cmdutil.AddValidateFlags(cmd) cmdutil.AddDryRunFlag(cmd) cmd.Flags().StringVar(&o.Image, "image", o.Image, "Image name to run.") - cmd.Flags().StringVar(&o.From, "from", o.From, "The name of the resource to create a Job from (only cronjob is supported).") + cmd.Flags().StringVar(&o.From, "from", o.From, "The name of the resource to create a Job from (only CronJob is supported).") cmdutil.AddFieldManagerFlagVar(cmd, &o.FieldManager, "kubectl-create") return cmd }