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
BUG/MEDIUM: config: add default location of path to the dataplaneapi configuration file
default location was not set, and therefore configuration file was not used.
this results in loosing service discovery data if that file is not set when
dataplaneapi is restarted
Copy file name to clipboardExpand all lines: configuration/configuration.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ type HAProxyConfiguration struct {
48
48
BackupsNumberint`short:"n" long:"backups-number" description:"Number of backup configuration files you want to keep, stored in the config dir with version number suffix" default:"0"`
49
49
MasterRuntimestring`short:"m" long:"master-runtime" description:"Path to the master Runtime API socket"`
50
50
ShowSystemInfobool`short:"i" long:"show-system-info" description:"Show system info on info endpoint"`
51
-
DataplaneConfigstring`short:"f" description:"Path to the dataplane configuration file" default:"" yaml:"-"`
51
+
DataplaneConfigstring`short:"f" description:"Path to the dataplane configuration file" default:"dataplaneapi.yaml" yaml:"-"`
52
52
UserListFilestring`long:"userlist-file" description:"Path to the dataplaneapi userlist file. By default userlist is read from HAProxy conf. When specified userlist would be read from this file"`
53
53
NodeIDFilestring`long:"fid" description:"Path to file that will dataplaneapi use to write its id (not a pid) that was given to him after joining a cluster"`
54
54
MapsDirstring`short:"p" long:"maps-dir" description:"Path to directory of map files managed by dataplane" default:"/etc/haproxy/maps"`
0 commit comments