Skip to content

Commit

Permalink
feat: bump default k8s version to 1.20.0 (datreeio#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
royhadad authored Jul 5, 2022
1 parent 3fba04a commit 38c5fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (flags *TestCommandFlags) AddFlags(cmd *cobra.Command) {
}
cmd.Flags().StringVarP(&flags.Output, "output", "o", defaultOutputValue, "Define output format ("+evaluation.OutputFormats()+")")

cmd.Flags().StringVarP(&flags.K8sVersion, "schema-version", "s", "", "Set kubernetes version to validate against. Defaults to 1.19.0")
cmd.Flags().StringVarP(&flags.K8sVersion, "schema-version", "s", "", "Set kubernetes version to validate against. Defaults to 1.20.0")
cmd.Flags().StringVarP(&flags.PolicyName, "policy", "p", "", "Policy name to run against")

cmd.Flags().StringVar(&flags.PolicyConfig, "policy-config", "", "Path for local policies configuration file")
Expand All @@ -250,7 +250,7 @@ func GenerateTestCommandData(testCommandFlags *TestCommandFlags, localConfigCont
}

if k8sVersion == "" {
k8sVersion = "1.19.0"
k8sVersion = "1.20.0"
}

var policies *cliClient.EvaluationPrerunPolicies
Expand Down

0 comments on commit 38c5fb3

Please sign in to comment.