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
MAJOR: add default server service behavior to k8s services
if no default service is defined, one will be created locally.
it will behave the same way as other default services
- 200 on healtz
- 404 on all other endpoints
Copy file name to clipboardExpand all lines: pkg/utils/flags.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ type OSArgs struct { //nolint:maligned
69
69
Help []bool`short:"h" long:"help" description:"show this help message"`
70
70
Version []bool`short:"v" long:"version" description:"version"`
71
71
DefaultBackendServiceNamespaceValue`long:"default-backend-service" default:"" description:"default service to serve 404 page. If not specified HAProxy serves http 400"`
72
+
DefaultBackendPortint`long:"default-backend-port" description:"port to use for default service" default:"6061"`
72
73
DefaultCertificateNamespaceValue`long:"default-ssl-certificate" default:"" description:"secret name of the certificate"`
73
74
ConfigMapNamespaceValue`long:"configmap" description:"configmap designated for HAProxy" default:""`
74
75
ConfigMapTCPServicesNamespaceValue`long:"configmap-tcp-services" description:"configmap used to define tcp services" default:""`
0 commit comments