You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/man/man1/openshift-infra-router.1
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,10 @@ You may restrict the set of routes exposed to a single project (with \-\-namespa
89
89
\fB\-\-denied\-domains\fP=[]
90
90
List of comma separated domains to deny in routes
91
91
92
+
.PP
93
+
\fB\-\-enable\-ingress\fP=false
94
+
Enable configuration via ingress resources
95
+
92
96
.PP
93
97
\fB\-\-extended\-validation\fP=true
94
98
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.
Copy file name to clipboardExpand all lines: pkg/cmd/infra/router/router.go
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,8 @@ type RouterSelection struct {
53
53
54
54
AllowWildcardRoutesbool
55
55
RestrictSubdomainOwnershipbool
56
+
57
+
EnableIngressbool
56
58
}
57
59
58
60
// Bind sets the appropriate labels
@@ -68,6 +70,7 @@ func (o *RouterSelection) Bind(flag *pflag.FlagSet) {
68
70
flag.StringSliceVar(&o.DeniedDomains, "denied-domains", envVarAsStrings("ROUTER_DENIED_DOMAINS", "", ","), "List of comma separated domains to deny in routes")
69
71
flag.StringSliceVar(&o.AllowedDomains, "allowed-domains", envVarAsStrings("ROUTER_ALLOWED_DOMAINS", "", ","), "List of comma separated domains to allow in routes. If specified, only the domains in this list will be allowed routes. Note that domains in the denied list take precedence over the ones in the allowed list")
0 commit comments