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: pkg/utils/flags.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,7 @@ type OSArgs struct {
81
81
CfgDirstring`long:"config-dir" description:"path to HAProxy configuration directory. NOTE: works only in External mode"`
82
82
Programstring`long:"program" description:"path to HAProxy program. NOTE: works only with External mode"`
83
83
KubeConfigstring`long:"kubeconfig" default:"" description:"combined with -e. location of kube config file"`
84
+
DisableConfigSnippetsstring`long:"disable-config-snippets" description:"Allow to disable config snippets. List of comma separated values (possible values: all/global/backend/frontend)"`
84
85
Version []bool`short:"v" long:"version" description:"version"`
SyncPeriod time.Duration`long:"sync-period" default:"5s" description:"Sets the period at which the controller syncs HAProxy configuration file"`
96
97
CacheResyncPeriod time.Duration`long:"cache-resync-period" default:"10m" description:"Sets the underlying Shared Informer resync period: resyncing controller with informers cache"`
97
98
HealthzBindPortint64`long:"healthz-bind-port" default:"1042" description:"port to listen on for probes"`
99
+
QuicAnnouncePortint64`long:"quic-announce-port" description:"sets the port in the alt-svc header"`
100
+
QuicBindPortint64`long:"quic-bind-port" description:"sets the binding port for quic in HTTPS frontend"`
98
101
LogLevelLogLevelValue`long:"log" default:"info" description:"level of log messages you can see"`
99
102
DisableIPV4bool`long:"disable-ipv4" description:"toggle to disable the IPv4 protocol from all frontends"`
100
103
Externalbool`short:"e" long:"external" description:"use as external Ingress Controller (out of k8s cluster)"`
@@ -107,10 +110,7 @@ type OSArgs struct {
107
110
PrometheusEnabledbool`long:"prometheus" description:"enable prometheus of IC data"`
108
111
DisableHTTPbool`long:"disable-http" description:"toggle to disable the HTTP frontend"`
109
112
DisableIPV6bool`long:"disable-ipv6" description:"toggle to disable the IPv6 protocol from all frontends"`
110
-
DisableConfigSnippetsstring`long:"disable-config-snippets" description:"Allow to disable config snippets. List of comma separated values (possible values: all/global/backend/frontend)"`
111
113
UseWithPebblebool`long:"with-pebble" description:"use pebble to start/stop/reload HAProxy"`
112
114
JobCheckCRDbool`long:"job-check-crd" description:"does not execute IC, but adds/updates CRDs"`
113
115
DisableQuicbool`long:"disable-quic" description:"disable quic protocol in http frontend bindings"`
114
-
QuicAnnouncePortint64`long:"quic-announce-port" description:"sets the port in the alt-svc header"`
115
-
QuicBindPortint64`long:"quic-bind-port" description:"sets the binding port for quic in HTTPS frontend"`
0 commit comments