Enable validation by default on tests

This commit is contained in:
Ricardo Katz 2023-06-20 06:44:04 -03:00 committed by k8s-infra-cherrypick-robot
parent a2c6b1b0fc
commit 26648b3321
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ import (
// DefaultAnnotationsPrefix defines the common prefix used in the nginx ingress controller
const (
DefaultAnnotationsPrefix = "nginx.ingress.kubernetes.io"
DefaultDisableAnnotationValidation = true
DefaultDisableAnnotationValidation = false
)
var (

View file

@ -152,7 +152,7 @@ Requires the update-status parameter.`)
annotationsPrefix = flags.String("annotations-prefix", parser.DefaultAnnotationsPrefix,
`Prefix of the Ingress annotations specific to the NGINX controller.`)
disableAnnotationValidation = flags.Bool("disable-annotation-validation", parser.DefaultDisableAnnotationValidation,
disableAnnotationValidation = flags.Bool("disable-annotation-validation", true,
`Prefix of the Ingress annotations specific to the NGINX controller.`)
enableSSLChainCompletion = flags.Bool("enable-ssl-chain-completion", false,