Enable validation by default on tests
This commit is contained in:
parent
a2c6b1b0fc
commit
26648b3321
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ import (
|
||||||
// DefaultAnnotationsPrefix defines the common prefix used in the nginx ingress controller
|
// DefaultAnnotationsPrefix defines the common prefix used in the nginx ingress controller
|
||||||
const (
|
const (
|
||||||
DefaultAnnotationsPrefix = "nginx.ingress.kubernetes.io"
|
DefaultAnnotationsPrefix = "nginx.ingress.kubernetes.io"
|
||||||
DefaultDisableAnnotationValidation = true
|
DefaultDisableAnnotationValidation = false
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -152,7 +152,7 @@ Requires the update-status parameter.`)
|
||||||
annotationsPrefix = flags.String("annotations-prefix", parser.DefaultAnnotationsPrefix,
|
annotationsPrefix = flags.String("annotations-prefix", parser.DefaultAnnotationsPrefix,
|
||||||
`Prefix of the Ingress annotations specific to the NGINX controller.`)
|
`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.`)
|
`Prefix of the Ingress annotations specific to the NGINX controller.`)
|
||||||
|
|
||||||
enableSSLChainCompletion = flags.Bool("enable-ssl-chain-completion", false,
|
enableSSLChainCompletion = flags.Bool("enable-ssl-chain-completion", false,
|
||||||
|
|
Loading…
Reference in a new issue