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: configuration/configuration.go
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,11 @@ import (
19
19
"encoding/json"
20
20
"fmt"
21
21
"io/ioutil"
22
+
"math/rand"
22
23
"os"
23
24
"path/filepath"
24
25
"strings"
25
26
"sync"
26
-
27
-
"math/rand"
28
27
"time"
29
28
30
29
"github.com/google/renameio"
@@ -53,7 +52,7 @@ type HAProxyConfiguration struct {
53
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"`
54
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"`
55
54
MapsDirstring`short:"p" long:"maps-dir" description:"Path to directory of map files managed by dataplane" default:"/etc/haproxy/maps"`
56
-
StorageSSLCertsDirstring`long:"storage-ssl-certs-dir" description:"Path to SSL certificates directory" default:"/etc/haproxy/ssl"`
55
+
SSLCertsDirstring`long:"ssl-certs-dir" description:"Path to SSL certificates directory" default:"/etc/haproxy/ssl"`
57
56
UpdateMapFilesbool`long:"update-map-files" description:"Flag used for syncing map files with runtime maps values"`
58
57
UpdateMapFilesPeriodint64`long:"update-map-files-period" description:"Elapsed time in seconds between two maps syncing operations" default:"10"`
59
58
ClusterTLSCertDirstring`long:"cluster-tls-dir" description:"Path where cluster tls certificates will be stored. Defaults to same directory as dataplane configuration file"`
@@ -88,6 +87,7 @@ type ClusterConfiguration struct {
88
87
NameAtomicString`yaml:"name"`
89
88
DescriptionAtomicString`yaml:"description"`
90
89
}
90
+
91
91
typeClusterTLSstruct {
92
92
DirAtomicString`yaml:"path"`
93
93
FetchedAtomicBool`yaml:"fetched"`
@@ -118,6 +118,7 @@ type NotifyConfiguration struct {
0 commit comments