open-consul/agent/structs
Connor b3af482e09
Support Vault Namespaces explicitly in CA config (#11477)
* Support Vault Namespaces explicitly in CA config

If there is a Namespace entry included in the Vault CA configuration,
set it as the Vault Namespace on the Vault client

Currently the only way to support Vault namespaces in the Consul CA
config is by doing one of the following:
1) Set the VAULT_NAMESPACE environment variable which will be picked up
by the Vault API client
2) Prefix all Vault paths with the namespace

Neither of these are super pleasant. The first requires direct access
and modification to the Consul runtime environment. It's possible and
expected, not super pleasant.

The second requires more indepth knowledge of Vault and how it uses
Namespaces and could be confusing for anyone without that context. It
also infers that it is not supported

* Add changelog

* Remove fmt.Fprint calls

* Make comment clearer

* Add next consul version to website docs

* Add new test for default configuration

* go mod tidy

* Add skip if vault not present

* Tweak changelog text
2021-11-05 11:42:28 -05:00
..
acl.go state: remove support for updating legacy ACL tokens 2021-10-25 17:25:14 -04:00
acl_cache.go acl: remove ACL.GetPolicy endpoint and resolve legacy acls 2021-09-29 14:33:19 -04:00
acl_cache_test.go
acl_oss.go acl: small OSS refactors to help ensure that auth methods with namespace rules work with partitions (#11323) 2021-10-14 15:38:05 -05:00
acl_test.go acl: remove ACLTokenTypeClient, 2021-10-25 17:25:14 -04:00
auto_encrypt.go
autopilot.go
autopilot_oss.go
catalog.go
catalog_oss.go
check_definition.go preload json values in structs to determine defaults 2021-10-10 17:52:26 -04:00
check_definition_test.go
check_type.go preload json values in structs to determine defaults 2021-10-10 17:52:26 -04:00
config_entry.go Support Check-And-Set deletion of config entries (#11419) 2021-11-01 16:42:01 +00:00
config_entry_discoverychain.go add service resolver subset filter validation 2021-10-13 02:56:04 +05:30
config_entry_discoverychain_oss.go
config_entry_discoverychain_test.go add service resolver subset filter validation 2021-10-13 02:56:04 +05:30
config_entry_exports.go Ensure partition-exports kind gets marshalled 2021-10-27 15:01:26 -06:00
config_entry_gateways.go Final readability tweaks from review 2021-09-23 10:17:12 +01:00
config_entry_gateways_test.go Fix some more Enterprise Normalization issues affecting tests 2021-09-23 10:12:37 +01:00
config_entry_intentions.go Sync enterprise changes to oss (#10994) 2021-09-08 11:59:30 -04:00
config_entry_intentions_oss.go
config_entry_intentions_test.go Sync enterprise changes to oss (#10994) 2021-09-08 11:59:30 -04:00
config_entry_mesh.go acl: adding a new mesh resource 2021-09-03 09:12:03 -04:00
config_entry_mesh_oss.go
config_entry_oss.go
config_entry_oss_test.go
config_entry_test.go Remove outdated partition label from test 2021-10-25 18:47:02 -06:00
connect.go
connect_ca.go Support Vault Namespaces explicitly in CA config (#11477) 2021-11-05 11:42:28 -05:00
connect_ca_test.go add root_cert_ttl option for consul connect, vault ca providers (#11428) 2021-11-02 11:02:10 -07:00
connect_oss.go
connect_proxy_config.go Ingress gateway header manip plumbing 2021-09-10 21:09:24 +01:00
connect_proxy_config_oss.go
connect_proxy_config_test.go
discovery_chain.go Header manip for split legs plumbing 2021-09-10 21:09:24 +01:00
discovery_chain_oss.go
errors.go
federation_state.go
identity.go
intention.go acl: fix intention:*:write checks (#11061) 2021-09-16 11:08:45 -05:00
intention_oss.go Cleanup unnecessary normalizing method (#11169) 2021-09-28 15:31:12 -04:00
intention_test.go Sync enterprise changes to oss (#10994) 2021-09-08 11:59:30 -04:00
operator.go
prepared_query.go
prepared_query_test.go
protobuf_compat.go
sanitize_oss.go
service_definition.go Add failures_before_warning to checks (#10969) 2021-09-14 12:47:52 -04:00
service_definition_test.go
snapshot.go
structs.go Remove some usage of md5 from the system (#11491) 2021-11-04 13:07:54 -07:00
structs_filtering_test.go Sync enterprise changes to oss (#10994) 2021-09-08 11:59:30 -04:00
structs_oss.go agent: refactor the agent delegate interface to be partition friendly (#11429) 2021-10-26 15:08:55 -05:00
structs_oss_test.go
structs_test.go acl: remove ACL.GetPolicy endpoint and resolve legacy acls 2021-09-29 14:33:19 -04:00
system_metadata.go
testing.go
testing_catalog.go partition dicovery chains (#10983) 2021-09-07 16:29:32 -04:00
testing_connect_proxy_config.go
testing_intention.go Cleanup unnecessary normalizing method (#11169) 2021-09-28 15:31:12 -04:00
testing_service_definition.go
txn.go