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
+4
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 ingress resource configuration of the router
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/template.go
+3-1
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ type TemplateRouter struct {
63
63
ExtendedValidationbool
64
64
RouterService*ktypes.NamespacedName
65
65
BindPortsAfterSyncbool
66
+
EnableIngressbool
66
67
}
67
68
68
69
// reloadInterval returns how often to run the router reloads. The interval
@@ -88,6 +89,7 @@ func (o *TemplateRouter) Bind(flag *pflag.FlagSet) {
88
89
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.")
89
90
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.")
90
91
flag.BoolVar(&o.BindPortsAfterSync, "bind-ports-after-sync", util.Env("ROUTER_BIND_PORTS_AFTER_SYNC", "") =="true", "Bind ports only after route state has been synchronized")
92
+
flag.BoolVar(&o.EnableIngress, "enable-ingress", util.Env("ROUTER_ENABLE_INGRESS", "") =="true", "Enable ingress resource configuration of the router")
91
93
}
92
94
93
95
typeRouterStatsstruct {
@@ -215,7 +217,7 @@ func (o *TemplateRouterOptions) Run() error {
0 commit comments