Skip to content

Commit 3687062

Browse files
author
OpenShift Bot
authored
Merge pull request #11218 from ramr/extval-defaults
Merged by openshift-bot
2 parents 2cd1700 + b5c87b9 commit 3687062

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/man/man1/openshift-infra-router.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ that you must have a cluster\-wide administrative role to view all namespaces.
7979
A path to default certificate to use for routes that don't expose a TLS server cert; in PEM format
8080

8181
.PP
82-
\fB\-\-extended\-validation\fP=false
83-
If set, then an additional extended validation step is performed on all routes admitted in by this router.
82+
\fB\-\-extended\-validation\fP=true
83+
If set, then an additional extended validation step is performed on all routes admitted in by this router. Defaults to true and enables the extended validation checks.
8484

8585
.PP
8686
\fB\-\-fields\fP=""

pkg/cmd/infra/router/template.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (o *TemplateRouter) Bind(flag *pflag.FlagSet) {
8585
flag.StringVar(&o.TemplateFile, "template", util.Env("TEMPLATE_FILE", ""), "The path to the template file to use")
8686
flag.StringVar(&o.ReloadScript, "reload", util.Env("RELOAD_SCRIPT", ""), "The path to the reload script to use")
8787
flag.DurationVar(&o.ReloadInterval, "interval", reloadInterval(), "Controls how often router reloads are invoked. Mutiple router reload requests are coalesced for the duration of this interval since the last reload time.")
88-
flag.BoolVar(&o.ExtendedValidation, "extended-validation", util.Env("EXTENDED_VALIDATION", "") == "true", "If set, then an additional extended validation step is performed on all routes admitted in by this router.")
88+
flag.BoolVar(&o.ExtendedValidation, "extended-validation", util.Env("EXTENDED_VALIDATION", "true") == "true", "If set, then an additional extended validation step is performed on all routes admitted in by this router. Defaults to true and enables the extended validation checks.")
8989
}
9090

9191
type RouterStats struct {

0 commit comments

Comments
 (0)