consul/agent/proxycfg-glue
Nathan Coleman 5e9f02d4be
[NET-8091] Add file-system-certificate config entry for API gateway (#20873)
* Define file-system-certificate config entry

* Collect file-system-certificate(s) referenced by api-gateway onto snapshot

* Add file-system-certificate to config entry kind allow lists

* Remove inapplicable validation

This validation makes sense for inline certificates since Consul server is holding the certificate; however, for file system certificates, Consul server never actually sees the certificate.

* Support file-system-certificate as source for listener TLS certificate

* Add more required mappings for the new config entry type

* Construct proper TLS context based on certificate kind

* Add support or SDS in xdscommon

* Remove unused param

* Adds back verification of certs for inline-certificates

* Undo tangential changes to TLS config consumption

* Remove stray curly braces

* Undo some more tangential changes

* Improve function name for generating API gateway secrets

* Add changelog entry

* Update .changelog/20873.txt

Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>

* Add some nil-checking, remove outdated TODO

* Update test assertions to include file-system-certificate

* Add documentation for file-system-certificate config entry

Add new doc to nav

* Fix grammar mistake

* Rename watchmaps, remove outdated TODO

---------

Co-authored-by: Melisa Griffin <melisa.griffin@hashicorp.com>
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
2024-04-15 16:45:05 -04:00
..
config_entry.go [NET-8091] Add file-system-certificate config entry for API gateway (#20873) 2024-04-15 16:45:05 -04:00
discovery_chain.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discovery_chain_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
exported_peered_services.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
exported_peered_services_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
federation_state_list_mesh_gateways.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
federation_state_list_mesh_gateways_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
gateway_services.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
gateway_services_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
glue.go Add default intention policy (#20544) 2024-02-08 20:25:42 +00:00
health.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
health_blocking.go Add extra logging for mesh health endpoints. (#18647) 2023-09-01 12:29:09 -05:00
health_blocking_test.go [NET-4958] Fix issue where envoy endpoints would fail to populate after snapshot restore (#18636) 2023-09-01 10:18:10 -05:00
health_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
helpers_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intention_upstreams.go Add default intention policy (#20544) 2024-02-08 20:25:42 +00:00
intention_upstreams_test.go Add default intention policy (#20544) 2024-02-08 20:25:42 +00:00
intentions.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intentions_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
intentions_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
internal_service_dump.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
internal_service_dump_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leafcerts.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
peered_upstreams.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
peered_upstreams_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
peering_list.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
peering_list_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
resolved_service_config.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
resolved_service_config_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
service_http_checks.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
service_http_checks_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
service_list.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
service_list_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
trust_bundle.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
trust_bundle_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00