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
3\. You can find the built binary in /build directory.
26
+
3\. You can find the built binary in /build directory. TEST
27
27
28
28
## Running the Data Plane API
29
29
Basic usage:
@@ -72,7 +72,7 @@ HAProxy options:
72
72
--backups-dir= Path to directory in which to place backup files
73
73
-m, --master-runtime= Path to the master Runtime API socket
74
74
-i, --show-system-info Show system info on info endpoint
75
-
-f= Path to the dataplane configuration file (default: /etc/haproxy/dataplaneapi.hcl)
75
+
-f= Path to the dataplane configuration file (default: /etc/haproxy/dataplaneapi.yaml)
76
76
--userlist-file= Path to the dataplaneapi userlist file. By default userlist is read from HAProxy conf. When specified userlist would be read from this file
77
77
--fid= Path to file that will dataplaneapi use to write its id (not a pid) that was given to him after joining a cluster
78
78
-p, --maps-dir= Path to directory of map files managed by dataplane (default: /etc/haproxy/maps)
Copy file name to clipboardExpand all lines: configuration/configuration.go
+5-9Lines changed: 5 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ type HAProxyConfiguration struct {
51
51
BackupsDirstring`long:"backups-dir" description:"Path to directory in which to place backup files" group:"transaction"`
52
52
MapsDirstring`short:"p" long:"maps-dir" description:"Path to directory of map files managed by dataplane" default:"/etc/haproxy/maps" group:"resources"`
53
53
SpoeTransactionDirstring`long:"spoe-transaction-dir" description:"Path to the SPOE transaction directory" default:"/tmp/spoe-haproxy" group:"resources"`
54
-
DataplaneConfigstring`short:"f" description:"Path to the dataplane configuration file" default:"/etc/haproxy/dataplaneapi.hcl" yaml:"-"`
54
+
DataplaneConfigstring`short:"f" description:"Path to the dataplane configuration file" default:"/etc/haproxy/dataplaneapi.yaml" yaml:"-"`
55
55
ConfigFilestring`short:"c" long:"config-file" description:"Path to the haproxy configuration file" default:"/etc/haproxy/haproxy.cfg" group:"haproxy"`
56
56
Userliststring`short:"u" long:"userlist" description:"Userlist in HAProxy configuration to use for API Basic Authentication" default:"controller" group:"userlist"`
57
57
MasterRuntimestring`short:"m" long:"master-runtime" description:"Path to the master Runtime API socket" group:"haproxy"`
@@ -72,14 +72,14 @@ type HAProxyConfiguration struct {
0 commit comments