s3 draft working

fix tests with DefaultWithPanic()
This commit is contained in:
Adrian Stobbe 2023-05-19 23:50:53 +02:00
parent 934722ae76
commit 0f942bafca
33 changed files with 548 additions and 194 deletions

View file

@ -60,7 +60,7 @@ func newIAMCreateCmd() *cobra.Command {
cmd.PersistentFlags().BoolP("yes", "y", false, "create the IAM configuration without further confirmation")
cmd.PersistentFlags().Bool("generate-config", false, "automatically generate a configuration file and fill in the required fields")
cmd.PersistentFlags().StringP("kubernetes", "k", semver.MajorMinor(config.Default().KubernetesVersion), "Kubernetes version to use in format MAJOR.MINOR - only usable in combination with --generate-config")
cmd.PersistentFlags().StringP("kubernetes", "k", semver.MajorMinor(config.DefaultWithPanic().KubernetesVersion), "Kubernetes version to use in format MAJOR.MINOR - only usable in combination with --generate-config")
cmd.AddCommand(newIAMCreateAWSCmd())
cmd.AddCommand(newIAMCreateAzureCmd())