cli: fix helm-timeout flags for deprecated commands (#2676)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-12-04 10:14:16 +01:00 committed by GitHub
parent 8bd17b995e
commit 0e91650631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -50,7 +50,7 @@ func NewInitCmd() *cobra.Command {
// We always want to skip the infrastructure phase here, to be aligned with the
// functionality of the old init command.
cmd.Flags().StringSlice("skip-phases", []string{string(skipInfrastructurePhase)}, "")
cmd.Flags().Duration("timeout", time.Hour, "")
cmd.Flags().Duration("helm-timeout", 10*time.Minute, "")
return runApply(cmd, args)
},
Deprecated: "use 'constellation apply' instead.",