open-vault/physical
chris trott 78df6a630e Configurable Consul Service Address (#3971)
* Consul service address is blank

Setting an explicit service address eliminates the ability for Consul
to dynamically decide what it should be based on its translate_wan_addrs
setting.

translate_wan_addrs configures Consul to return its lan address to nodes
in its same datacenter but return its wan address to nodes in foreign
datacenters.

* service_address parameter for Consul storage backend

This parameter allows users to override the use of what Vault knows to
be its HA redirect address.

This option is particularly commpelling because if set to a blank
string, Consul will leverage the node configuration where the service is
registered which includes the `translate_wan_addrs` option. This option
conditionally associates nodes' lan or wan address based on where
requests originate.

* Add TestConsul_ServiceAddress

Ensures that the service_address configuration parameter is setting the
serviceAddress field of ConsulBackend instances properly.

If the "service_address" parameter is not set, the ConsulBackend
serviceAddress field must instantiate as nil to indicate that it can be
ignored.
2018-02-23 11:15:29 -05:00
..
azure Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
cassandra Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
cockroachdb Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
consul Configurable Consul Service Address (#3971) 2018-02-23 11:15:29 -05:00
couchdb Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
dynamodb Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
etcd etcd: config etcd3 client's max response size (#3891) 2018-02-01 19:08:09 -05:00
file Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
gcs Add useragent helper (#3991) 2018-02-15 18:30:31 -05:00
inmem Refactor fail logic in inmem 2018-02-12 11:25:48 -05:00
manta Fix manta test 2018-02-14 10:39:52 -05:00
mssql Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
mysql Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
postgresql Fix compatibility with some Postgres versions (#3986) 2018-02-16 12:52:34 -05:00
s3 Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
spanner Add useragent helper (#3991) 2018-02-15 18:30:31 -05:00
swift Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
zookeeper go vet fixes 2018-02-05 14:26:31 -05:00
cache.go Remove core restriction in cache and turn it into an active/standby restriction instead (#3849) 2018-01-25 22:21:51 -05:00
latency.go Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
physical.go Remove core restriction in cache and turn it into an active/standby restriction instead (#3849) 2018-01-25 22:21:51 -05:00
physical_access.go Remove core restriction in cache and turn it into an active/standby restriction instead (#3849) 2018-01-25 22:21:51 -05:00
physical_view.go Add compile tests to verify physical stores satisfy the correct interfaces (#3820) 2018-01-19 17:44:24 -08:00
testing.go Fix test statement with formatting in fatal call 2018-02-20 00:26:41 -05:00
transactions.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
types.pb.go Port over some changes 2017-11-30 09:43:07 -05:00
types.proto Port over some changes 2017-11-30 09:43:07 -05:00