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
This new argument allows to disable the default behavior to write the maps/certificates only if haproxy reloads.
If this option is set, files are written to disk even if there is no haproxy reload
// OSArgs contains arguments that can be sent to controller
68
68
typeOSArgsstruct {
69
-
ConfigMapPatternFilesNamespaceValue`long:"configmap-patternfiles" description:"configmap used to provide a list of pattern files to use in haproxy configuration " default:""`
70
-
ConfigMapTCPServicesNamespaceValue`long:"configmap-tcp-services" description:"configmap used to define tcp services" default:""`
71
-
DefaultBackendServiceNamespaceValue`long:"default-backend-service" default:"" description:"default service to serve 404 page. If not specified HAProxy serves http 400"`
72
-
ConfigMapErrorFilesNamespaceValue`long:"configmap-errorfiles" description:"configmap used to define custom error pages associated to HTTP error codes" default:""`
73
-
DefaultCertificateNamespaceValue`long:"default-ssl-certificate" default:"" description:"secret name of the certificate"`
74
-
ConfigMapNamespaceValue`long:"configmap" description:"configmap designated for HAProxy" default:""`
75
-
IPV6BindAddrstring`long:"ipv6-bind-address" default:"::" description:"IPv6 address the Ingress Controller listens on (if enabled)"`
76
-
GatewayControllerNamestring`long:"gateway-controller-name" description:"sets the controller name of gatewayclass managed by the controller"`
77
-
IPV4BindAddrstring`long:"ipv4-bind-address" default:"0.0.0.0" description:"IPv4 address the Ingress Controller listens on (if enabled)"`
78
-
RuntimeDirstring`long:"runtime-dir" description:"path to HAProxy runtime directory. NOTE: works only in External mode"`
79
-
IngressClassstring`long:"ingress.class" default:"" description:"ingress.class to monitor in multiple controllers environment"`
80
-
PublishServicestring`long:"publish-service" default:"" description:"Takes the form namespace/name. The controller mirrors the address of this service's endpoints to the load-balancer status of all Ingress objects it satisfies"`
81
-
CfgDirstring`long:"config-dir" description:"path to HAProxy configuration directory. NOTE: works only in External mode"`
82
-
Programstring`long:"program" description:"path to HAProxy program. NOTE: works only with External mode"`
83
-
KubeConfigstring`long:"kubeconfig" default:"" description:"combined with -e. location of kube config file"`
84
-
HTTPBindThreadstring`long:"http-bind-thread" description:"default http service bind thread params eg: 1-1" default:""`
85
-
HTTPSBindThreadstring`long:"https-bind-thread" description:"default https service bind thread params eg: 1-1" default:""`
86
-
HealthzBindThreadstring`long:"healthz-bind-thread" description:"default healthz service bind thread params eg: 1-1" default:""`
87
-
DisableConfigSnippetsstring`long:"disable-config-snippets" description:"Allow to disable config snippets. List of comma separated values (possible values: all/global/backend/frontend)"`
88
-
Version []bool`short:"v" long:"version" description:"version"`
Help []bool`short:"h" long:"help" description:"show this help message"`
92
-
LocalPeerPortint64`long:"localpeer-port" default:"10000" description:"port to listen on for local peer"`
93
-
StatsBindPortint64`long:"stats-bind-port" default:"1024" description:"port to listen on for stats page"`
94
-
StatsBindThreadstring`long:"stats-bind-thread" description:"default stats service bind thread params eg: 1-1" default:""`
95
-
DefaultBackendPortint`long:"default-backend-port" description:"port to use for default service" default:"6061"`
96
-
ChannelSizeint64`long:"channel-size" description:"sets the size of controller buffers used to receive and send k8s events.NOTE: increase the value to accommodate large number of resources "`
97
-
ControllerPortint`long:"controller-port" description:"port to listen on for controller data: prometheus, pprof" default:"6060"`
98
-
HTTPBindPortint64`long:"http-bind-port" default:"8080" description:"port to listen on for HTTP traffic"`
99
-
HTTPSBindPortint64`long:"https-bind-port" default:"8443" description:"port to listen on for HTTPS traffic"`
100
-
SyncPeriod time.Duration`long:"sync-period" default:"5s" description:"Sets the period at which the controller syncs HAProxy configuration file"`
101
-
CacheResyncPeriod time.Duration`long:"cache-resync-period" default:"10m" description:"Sets the underlying Shared Informer resync period: resyncing controller with informers cache"`
102
-
HealthzBindPortint64`long:"healthz-bind-port" default:"1042" description:"port to listen on for probes"`
103
-
QuicAnnouncePortint64`long:"quic-announce-port" description:"sets the port in the alt-svc header"`
104
-
QuicBindPortint64`long:"quic-bind-port" description:"sets the binding port for quic in HTTPS frontend"`
105
-
LogLevelLogLevelValue`long:"log" default:"info" description:"level of log messages you can see"`
106
-
DisableIPV4bool`long:"disable-ipv4" description:"toggle to disable the IPv4 protocol from all frontends"`
107
-
Externalbool`short:"e" long:"external" description:"use as external Ingress Controller (out of k8s cluster)"`
EmptyIngressClassbool`long:"empty-ingress-class" description:"empty-ingress-class manages the behavior in case an ingress has no explicit ingress class annotation. true: to process, false: to skip"`
110
-
DisableServiceExternalNamebool`long:"disable-service-external-name" description:"disable forwarding to ExternalName Services due to CVE-2021-25740"`
111
-
UseWiths6Overlaybool`long:"with-s6-overlay" description:"use s6 overlay to start/stpop/reload HAProxy"`
112
-
DisableHTTPSbool`long:"disable-https" description:"toggle to disable the HTTPs frontend"`
PrometheusEnabledbool`long:"prometheus" description:"enable prometheus of IC data"`
115
-
DisableHTTPbool`long:"disable-http" description:"toggle to disable the HTTP frontend"`
116
-
DisableIPV6bool`long:"disable-ipv6" description:"toggle to disable the IPv6 protocol from all frontends"`
117
-
UseWithPebblebool`long:"with-pebble" description:"use pebble to start/stop/reload HAProxy"`
118
-
JobCheckCRDbool`long:"job-check-crd" description:"does not execute IC, but adds/updates CRDs"`
119
-
DisableQuicbool`long:"disable-quic" description:"disable quic protocol in http frontend bindings"`
69
+
ConfigMapPatternFilesNamespaceValue`long:"configmap-patternfiles" description:"configmap used to provide a list of pattern files to use in haproxy configuration " default:""`
70
+
ConfigMapTCPServicesNamespaceValue`long:"configmap-tcp-services" description:"configmap used to define tcp services" default:""`
71
+
DefaultBackendServiceNamespaceValue`long:"default-backend-service" default:"" description:"default service to serve 404 page. If not specified HAProxy serves http 400"`
72
+
ConfigMapErrorFilesNamespaceValue`long:"configmap-errorfiles" description:"configmap used to define custom error pages associated to HTTP error codes" default:""`
73
+
DefaultCertificateNamespaceValue`long:"default-ssl-certificate" default:"" description:"secret name of the certificate"`
74
+
ConfigMapNamespaceValue`long:"configmap" description:"configmap designated for HAProxy" default:""`
75
+
IPV6BindAddrstring`long:"ipv6-bind-address" default:"::" description:"IPv6 address the Ingress Controller listens on (if enabled)"`
76
+
GatewayControllerNamestring`long:"gateway-controller-name" description:"sets the controller name of gatewayclass managed by the controller"`
77
+
IPV4BindAddrstring`long:"ipv4-bind-address" default:"0.0.0.0" description:"IPv4 address the Ingress Controller listens on (if enabled)"`
78
+
RuntimeDirstring`long:"runtime-dir" description:"path to HAProxy runtime directory. NOTE: works only in External mode"`
79
+
IngressClassstring`long:"ingress.class" default:"" description:"ingress.class to monitor in multiple controllers environment"`
80
+
PublishServicestring`long:"publish-service" default:"" description:"Takes the form namespace/name. The controller mirrors the address of this service's endpoints to the load-balancer status of all Ingress objects it satisfies"`
81
+
CfgDirstring`long:"config-dir" description:"path to HAProxy configuration directory. NOTE: works only in External mode"`
82
+
Programstring`long:"program" description:"path to HAProxy program. NOTE: works only with External mode"`
83
+
KubeConfigstring`long:"kubeconfig" default:"" description:"combined with -e. location of kube config file"`
84
+
HTTPBindThreadstring`long:"http-bind-thread" description:"default http service bind thread params eg: 1-1" default:""`
85
+
HTTPSBindThreadstring`long:"https-bind-thread" description:"default https service bind thread params eg: 1-1" default:""`
86
+
HealthzBindThreadstring`long:"healthz-bind-thread" description:"default healthz service bind thread params eg: 1-1" default:""`
87
+
DisableConfigSnippetsstring`long:"disable-config-snippets" description:"Allow to disable config snippets. List of comma separated values (possible values: all/global/backend/frontend)"`
88
+
Version []bool`short:"v" long:"version" description:"version"`
Help []bool`short:"h" long:"help" description:"show this help message"`
92
+
LocalPeerPortint64`long:"localpeer-port" default:"10000" description:"port to listen on for local peer"`
93
+
StatsBindPortint64`long:"stats-bind-port" default:"1024" description:"port to listen on for stats page"`
94
+
StatsBindThreadstring`long:"stats-bind-thread" description:"default stats service bind thread params eg: 1-1" default:""`
95
+
DefaultBackendPortint`long:"default-backend-port" description:"port to use for default service" default:"6061"`
96
+
ChannelSizeint64`long:"channel-size" description:"sets the size of controller buffers used to receive and send k8s events.NOTE: increase the value to accommodate large number of resources "`
97
+
ControllerPortint`long:"controller-port" description:"port to listen on for controller data: prometheus, pprof" default:"6060"`
98
+
HTTPBindPortint64`long:"http-bind-port" default:"8080" description:"port to listen on for HTTP traffic"`
99
+
HTTPSBindPortint64`long:"https-bind-port" default:"8443" description:"port to listen on for HTTPS traffic"`
100
+
SyncPeriod time.Duration`long:"sync-period" default:"5s" description:"Sets the period at which the controller syncs HAProxy configuration file"`
101
+
CacheResyncPeriod time.Duration`long:"cache-resync-period" default:"10m" description:"Sets the underlying Shared Informer resync period: resyncing controller with informers cache"`
102
+
HealthzBindPortint64`long:"healthz-bind-port" default:"1042" description:"port to listen on for probes"`
103
+
QuicAnnouncePortint64`long:"quic-announce-port" description:"sets the port in the alt-svc header"`
104
+
QuicBindPortint64`long:"quic-bind-port" description:"sets the binding port for quic in HTTPS frontend"`
105
+
LogLevelLogLevelValue`long:"log" default:"info" description:"level of log messages you can see"`
106
+
DisableIPV4bool`long:"disable-ipv4" description:"toggle to disable the IPv4 protocol from all frontends"`
107
+
Externalbool`short:"e" long:"external" description:"use as external Ingress Controller (out of k8s cluster)"`
EmptyIngressClassbool`long:"empty-ingress-class" description:"empty-ingress-class manages the behavior in case an ingress has no explicit ingress class annotation. true: to process, false: to skip"`
110
+
DisableServiceExternalNamebool`long:"disable-service-external-name" description:"disable forwarding to ExternalName Services due to CVE-2021-25740"`
111
+
UseWiths6Overlaybool`long:"with-s6-overlay" description:"use s6 overlay to start/stpop/reload HAProxy"`
112
+
DisableHTTPSbool`long:"disable-https" description:"toggle to disable the HTTPs frontend"`
PrometheusEnabledbool`long:"prometheus" description:"enable prometheus of IC data"`
115
+
DisableHTTPbool`long:"disable-http" description:"toggle to disable the HTTP frontend"`
116
+
DisableIPV6bool`long:"disable-ipv6" description:"toggle to disable the IPv6 protocol from all frontends"`
117
+
UseWithPebblebool`long:"with-pebble" description:"use pebble to start/stop/reload HAProxy"`
118
+
JobCheckCRDbool`long:"job-check-crd" description:"does not execute IC, but adds/updates CRDs"`
119
+
DisableQuicbool`long:"disable-quic" description:"disable quic protocol in http frontend bindings"`
120
+
DisableDelayedWritingOnlyIfReloadbool`long:"disable-writing-only-if-reload" description:"disable the delayed writing of files to disk only in case of haproxy reload (=write files to disk even if no reload)"`
0 commit comments