|
1 | 1 | config_version = 2 |
2 | | -name = "famous_condor" |
3 | | -mode = "single" |
4 | | -status = "null" |
| 2 | +name = "famous_condor" |
| 3 | +mode = "single" |
| 4 | +status = "null" |
5 | 5 |
|
6 | 6 | dataplaneapi { |
7 | | - scheme = ["http"] |
8 | | - cleanup-timeout = "10s" |
9 | | - graceful-timeout = "15s" |
10 | | - max-header-size = "1MiB" |
11 | | - socket-path = "/var/run/data-plane.sock" |
12 | | - host = "localhost" |
13 | | - port = 80 |
14 | | - listen-limit = 1024 |
15 | | - keep-alive = "3m" |
16 | | - read-timeout = "30s" |
17 | | - write-timeout = "60s" |
18 | | - show-system-info = false |
19 | | - disable-inotify = false |
20 | | - pid-file = "/tmp/dataplane.pid" |
21 | | - uid = 1000 |
22 | | - gid = 1000 |
| 7 | + scheme = ["http"] |
| 8 | + cleanup-timeout = "10s" |
| 9 | + graceful-timeout = "15s" |
| 10 | + max-header-size = "1MiB" |
| 11 | + socket-path = "/var/run/data-plane.sock" |
| 12 | + host = "localhost" |
| 13 | + port = 80 |
| 14 | + listen-limit = 1024 |
| 15 | + keep-alive = "3m" |
| 16 | + read-timeout = "30s" |
| 17 | + write-timeout = "60s" |
| 18 | + show-system-info = false |
| 19 | + disable-inotify = false |
| 20 | + pid-file = "/tmp/dataplane.pid" |
| 21 | + uid = 1000 |
| 22 | + gid = 1000 |
23 | 23 |
|
24 | 24 | tls { |
25 | | - tls-host = "null" |
26 | | - tls-port = 6443 |
27 | | - tls-certificate = "null" |
28 | | - tls-key = "null" |
29 | | - tls-ca = "null" |
30 | | - tls-listen-limit = 10 |
31 | | - tls-keep-alive = "1m" |
32 | | - tls-read-timeout = "10s" |
33 | | - tls-write-timeout = "10s" |
| 25 | + tls-host = "null" |
| 26 | + tls-port = 6443 |
| 27 | + tls-certificate = "null" |
| 28 | + tls-key = "null" |
| 29 | + tls-ca = "null" |
| 30 | + tls-listen-limit = 10 |
| 31 | + tls-keep-alive = "1m" |
| 32 | + tls-read-timeout = "10s" |
| 33 | + tls-write-timeout = "10s" |
34 | 34 | } |
35 | 35 |
|
36 | 36 | user "admin" { |
37 | | - insecure = true |
38 | | - password = "adminpwd" |
| 37 | + insecure = true |
| 38 | + password = "adminpwd" |
39 | 39 | } |
40 | 40 |
|
41 | 41 | userlist { |
42 | | - userlist = "controller" |
43 | | - userlist-file = "null" |
| 42 | + userlist = "controller" |
| 43 | + userlist-file = "null" |
44 | 44 | } |
45 | 45 |
|
46 | 46 | transaction { |
47 | | - transaction-dir = "/tmp/haproxy" |
48 | | - backups-number = 0 |
49 | | - backups-dir = "/tmp/backups" |
50 | | - max-open-transactions = 20 |
| 47 | + transaction-dir = "/tmp/haproxy" |
| 48 | + backups-number = 0 |
| 49 | + backups-dir = "/tmp/backups" |
| 50 | + max-open-transactions = 20 |
51 | 51 | } |
52 | 52 |
|
53 | 53 | resources { |
54 | | - maps-dir = "/etc/haproxy/maps" |
55 | | - ssl-certs-dir = "/etc/haproxy/ssl" |
56 | | - update-map-files = false |
57 | | - update-map-files-period = 10 |
58 | | - spoe-dir = "/etc/haproxy/spoe" |
59 | | - spoe-transaction-dir = "/tmp/spoe-haproxy" |
| 54 | + maps-dir = "/etc/haproxy/maps" |
| 55 | + ssl-certs-dir = "/etc/haproxy/ssl" |
| 56 | + update-map-files = false |
| 57 | + update-map-files-period = 10 |
| 58 | + spoe-dir = "/etc/haproxy/spoe" |
| 59 | + spoe-transaction-dir = "/tmp/spoe-haproxy" |
60 | 60 | } |
61 | 61 |
|
62 | 62 | advertised { |
63 | | - api-address = "10.2.3.4" |
64 | | - api-port = 80 |
| 63 | + api-address = "10.2.3.4" |
| 64 | + api-port = 80 |
65 | 65 | } |
66 | 66 | } |
67 | 67 |
|
68 | 68 | haproxy { |
69 | | - config-file = "/etc/haproxy/haproxy.cfg" |
70 | | - haproxy-bin = "haproxy" |
71 | | - master-runtime = "null" |
72 | | - fid = "null" |
73 | | - master-worker-mode = false |
| 69 | + config-file = "/etc/haproxy/haproxy.cfg" |
| 70 | + haproxy-bin = "haproxy" |
| 71 | + master-runtime = "null" |
| 72 | + fid = "null" |
| 73 | + master-worker-mode = false |
74 | 74 |
|
75 | 75 | reload { |
76 | | - reload-delay = 5 |
77 | | - reload-cmd = "null" |
78 | | - restart-cmd = "null" |
79 | | - reload-retention = 1 |
80 | | - validate-cmd = "null" |
| 76 | + reload-delay = 5 |
| 77 | + reload-cmd = "null" |
| 78 | + restart-cmd = "null" |
| 79 | + reload-retention = 1 |
| 80 | + validate-cmd = "null" |
81 | 81 | } |
82 | 82 | } |
83 | 83 |
|
84 | 84 | cluster { |
85 | | - cluster-tls-dir = "null" |
86 | | - id = "null" |
87 | | - bootstrap_key = "null" |
88 | | - active_bootstrap_key = "null" |
89 | | - token = "null" |
90 | | - url = "null" |
91 | | - port = 80 |
92 | | - api_base_path = "null" |
93 | | - api_nodes_path = "null" |
94 | | - api_register_path = "null" |
95 | | - storage-dir = "null" |
96 | | - cert-path = "null" |
97 | | - cert-fetched = false |
98 | | - name = "null" |
99 | | - description = "null" |
| 85 | + cluster-tls-dir = "null" |
| 86 | + id = "null" |
| 87 | + bootstrap_key = "null" |
| 88 | + active_bootstrap_key = "null" |
| 89 | + token = "null" |
| 90 | + url = "null" |
| 91 | + port = 80 |
| 92 | + api_base_path = "null" |
| 93 | + api_nodes_path = "null" |
| 94 | + api_register_path = "null" |
| 95 | + storage-dir = "null" |
| 96 | + cert-path = "null" |
| 97 | + cert-fetched = false |
| 98 | + name = "null" |
| 99 | + description = "null" |
100 | 100 | } |
101 | 101 |
|
102 | 102 | service_discovery { |
103 | | - consuls = [] |
104 | | - aws-regions = [] |
| 103 | + consuls = [] |
| 104 | + aws-regions = [] |
105 | 105 | } |
106 | 106 |
|
107 | 107 | log { |
108 | | - log-to = "stdout" |
109 | | - log-file = "/var/log/dataplaneapi/dataplaneapi.log" |
110 | | - log-level = "warning" |
111 | | - log-format = "text" |
112 | | - apache-common-log-format = "%h" |
| 108 | + log-to = "stdout" |
| 109 | + log-file = "/var/log/dataplaneapi/dataplaneapi.log" |
| 110 | + log-level = "warning" |
| 111 | + log-format = "text" |
| 112 | + apache-common-log-format = "%h" |
113 | 113 |
|
114 | 114 | syslog { |
115 | | - syslog-address = "null" |
116 | | - syslog-protocol = "tcp" |
117 | | - syslog-tag = "dataplaneapi" |
118 | | - syslog-level = "debug" |
119 | | - syslog-facility = "local0" |
| 115 | + syslog-address = "null" |
| 116 | + syslog-protocol = "tcp" |
| 117 | + syslog-tag = "dataplaneapi" |
| 118 | + syslog-level = "debug" |
| 119 | + syslog-facility = "local0" |
120 | 120 | } |
121 | 121 | } |
0 commit comments