Michael Schurter
778dfeffc4
Fix comment
2016-11-09 15:51:00 -08:00
Michael Schurter
3b4fe9a95b
Fix typo in test
2016-11-09 13:16:56 -08:00
Michael Schurter
5fa84d5658
Add unit test for missing port helper func
2016-11-09 11:55:10 -08:00
Michael Schurter
1304ba8b2d
Addresses are just addresses - no ports
...
Store address+port in an unexported field for ease-of-use
2016-11-09 11:49:55 -08:00
Michael Schurter
1893772f4b
Enable dev mode to allow using localhost in tests
2016-11-08 16:35:11 -08:00
Michael Schurter
1e0b4d76e8
Fix test that fails now that advertise can't be localhost
2016-11-08 16:22:04 -08:00
Michael Schurter
4aed5ba1e2
Restore sync/atomic use for consistency
2016-11-08 16:21:52 -08:00
Michael Schurter
4f15cac3ca
Normalize configs for agent tests
2016-11-08 16:13:09 -08:00
Michael Schurter
eb89fd2793
Fix int pointer formatting and server config test
2016-11-08 16:02:20 -08:00
Michael Schurter
5cc435ab3e
Move config normalization into config.go to ease testing
2016-11-08 15:44:10 -08:00
Michael Schurter
9420e73e7e
Match old error messages
2016-11-08 15:25:29 -08:00
Michael Schurter
581d6a5320
Handle missing ports in addresses
2016-11-08 13:44:41 -08:00
Michael Schurter
2c4b19f1a6
Refactor getAdvertise into a func
2016-11-08 13:06:56 -08:00
Michael Schurter
3dab50318e
Failure to resolve advertise address isn't fatal
2016-11-08 11:17:22 -08:00
Michael Schurter
4e7587de17
Choose safer default advertise address
...
* -dev mode defaults bind & advertise to localhost
* Normal mode defaults bind to 0.0.0.0 & advertise to the resolved
hostname. If the hostname resolves to localhost it will refuse to
start and advertise must be manually set.
2016-11-08 11:17:16 -08:00
Diptanu Choudhury
819e04437c
Merge pull request #1931 from hashicorp/rename-vault-config
...
Rename vault config
2016-11-06 10:14:25 -08:00
Diptanu Choudhury
53a8e45d32
Disable http checks if TLS is enabled
2016-11-03 17:33:58 -07:00
Diptanu Choudhury
bbf2101923
Renaming TLS related vault config
2016-11-03 14:24:39 -07:00
Seth Vargo
c86a07d834
Separate agent configuration into its own pages
...
I apologize in advance for the rather long PR, but unfortunately there
is not an easy way to break this up into smaller chunks. This separates
the agent configuration into smaller, more consumable pieces just like
the job specification.
2016-11-02 18:30:00 -04:00
Diptanu Choudhury
c2de765a6d
Merge pull request #1909 from hashicorp/region-wrapper
...
Making Nomad TLS configs region aware
2016-11-01 14:31:39 -07:00
Michael Schurter
cd9fbfa0c7
Remove ServerName because we verify based on region
2016-11-01 14:17:31 -07:00
Alex Dadgar
1637333b16
Merge branch 'master' of github.com:hashicorp/nomad
2016-11-01 13:24:07 -07:00
Alex Dadgar
f218c8849b
Resolve
2016-11-01 13:23:44 -07:00
Alex Dadgar
9939fa0971
Read from env
2016-11-01 12:37:27 -07:00
Alex Dadgar
a379f86064
Check that advertise without ports works in test
2016-10-31 18:08:49 -07:00
Alex Dadgar
b8650b24d2
Allow advertise to not specify port
2016-10-31 17:12:29 -07:00
Alex Dadgar
0e47a66391
Add to valid configs fields
2016-10-27 11:29:12 -07:00
Alex Dadgar
a3676fc097
Small cleanups
2016-10-27 10:51:11 -07:00
Evan Gilman
ba55b1a0fe
Never return 0.0.0.0 as a non-bind address
2016-10-27 10:51:11 -07:00
Evan Gilman
bcd0a55be9
Add more address selector tests
2016-10-27 10:51:11 -07:00
Evan Gilman
39155e952f
Remove old address advertise config code
2016-10-27 10:51:11 -07:00
Evan Gilman
5a1b8db597
Add address selector methods to the agent
2016-10-27 10:51:11 -07:00
Evan Gilman
801352e0bc
Use bind address for consul healtchecks in nomad client too
2016-10-27 10:47:45 -07:00
Evan Gilman
3e2b2fdb86
Use bind address for consul service checks
2016-10-27 10:47:45 -07:00
Diptanu Choudhury
6db8a06f38
Making the nomad agent checks tcp
2016-10-26 16:30:29 -07:00
Diptanu Choudhury
b2bbd63d87
Fixed a bunch of TLS related failures
2016-10-26 14:08:46 -07:00
Diptanu Choudhury
48c31de849
Added datadog_address to valid keys
2016-10-26 13:28:28 -07:00
Diptanu Choudhury
722433b4f9
Making the cli use TLS if the client has enabled TLS
2016-10-26 11:13:53 -07:00
Diptanu Choudhury
70ec22fadf
Merge pull request #1853 from hashicorp/f-rpc-http-tls
...
TLS support for http and RPC
2016-10-25 16:14:43 -07:00
Diptanu Choudhury
f416ac7419
Moved tlsutil into helpers
2016-10-25 16:05:37 -07:00
Diptanu Choudhury
ecfb24d521
Moving the TLSConfig to structs
2016-10-25 15:57:38 -07:00
Diptanu Choudhury
0e6e5b3e7b
Enabling TLS on cli
2016-10-25 10:39:17 -07:00
Alex Dadgar
3c41715d95
Vault flags
2016-10-24 17:23:48 -07:00
Diptanu Choudhury
e115f83ded
Updated the spec definition for tls config
2016-10-24 15:36:26 -07:00
Diptanu Choudhury
15b2cc5d8c
Changed the way TLS config is parsed
2016-10-24 13:56:19 -07:00
Alex Dadgar
a877e320c0
Merge pull request #1842 from hashicorp/f-version-and-id
...
Print the version and client node ID
2016-10-24 10:13:33 -07:00
Diptanu Choudhury
11c1583467
Implemented TLS support for http and rpc
2016-10-23 22:22:00 -07:00
Michael Schurter
4d3187bc7e
Remove disk usage enforcement
...
Many thanks to @iverberk for the original PR (#1609 ), but we ended up
not wanting to ship this implementation with 0.5.
We'll come back to it after 0.5 and hopefully find a way to leverage
filesystem accounting and quotas, so we can skip the expensive polling.
2016-10-21 13:55:51 -07:00
Alex Dadgar
902c3973db
Print the version and client node ID
2016-10-20 17:46:04 -07:00
Alex Dadgar
746eeb121a
Merge pull request #1816 from jippi/add-datadog-telemetry
...
Add datadog telemetry
2016-10-18 09:53:37 -07:00