consul/agent/consul
Melissa Kam 3b9bb8d6f9
[CC-7044] Start HCP manager as part of link creation (#20312)
* Check for ACL write permissions on write

Link eventually will be creating a token, so require acl:write.

* Convert Run to Start, only allow to start once

* Always initialize HCP components at startup

* Support for updating config and client

* Pass HCP manager to controller

* Start HCP manager in link resource

Start as part of link creation rather than always starting. Update
the HCP manager with values from the link before starting as well.

* Fix metrics sink leaked goroutine

* Remove the hardcoded disabled hostname prefix

The HCP metrics sink will always be enabled, so the length of sinks will
always be greater than zero. This also means that we will also always
default to prefixing metrics with the hostname, which is what our
documentation states is the expected behavior anyway.

* Add changelog

* Check and set running status in one method

* Check for primary datacenter, add back test

* Clarify merge reasoning, fix timing issue in test

* Add comment about controller placement

* Expand on breaking change, fix typo in changelog
2024-01-29 16:31:44 -06:00
..
auth [NET-6640] Adds "Policy" BindType to BindingRule (#19499) 2023-11-20 13:11:08 +00:00
authmethod Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
autopilotevents [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
controller [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discoverychain Add CE version of Gateway Upstream Disambiguation (#19860) 2023-12-07 17:56:14 -05:00
fsm Remove V2 PeerName field from pbresource.Tenancy (#19865) 2024-01-29 15:08:31 -05:00
gateways [NET-5688] APIGateway UI Topology Fixes (#19657) 2023-11-28 21:27:14 +00:00
multilimiter [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
prepared_query Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
rate Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
reporting Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
servercert [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
state NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
stream [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testdata Net 7155- Consul API Gateway Controller Stub Work (#20324) 2024-01-25 23:16:20 +00:00
usagemetrics Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
wanfed [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
watch [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
xdscapacity [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl.go Honor Default Traffic Permissions in V2 (#18886) 2023-09-19 10:42:32 -04:00
acl_authmethod.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_authmethod_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_client.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_endpoint.go [CE] Add workload bind type and templated policy (#19077) 2023-10-05 19:45:41 +00:00
acl_endpoint_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_endpoint_test.go [NET-6640] Adds "Policy" BindType to BindingRule (#19499) 2023-11-20 13:11:08 +00:00
acl_replication.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_replication_test.go Add support for querying tokens by service name. (#18667) 2023-09-06 10:52:45 -05:00
acl_replication_types.go Add support for querying tokens by service name. (#18667) 2023-09-06 10:52:45 -05:00
acl_server.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_server_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_test.go Add workload identity ACL rules (#18769) 2023-09-12 17:22:51 -04:00
acl_token_exp.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_token_exp_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_config_backend.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_config_backend_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_config_endpoint.go [OSS] feat: add experiments flag for v2 dns and skeleton interfaces (#20115) 2024-01-10 11:19:20 -05:00
auto_config_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_encrypt_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_encrypt_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
autopilot.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
autopilot_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
autopilot_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
catalog_endpoint.go NET-4135 - Fix NodeMeta filtering Catalog List Services API (#18322) 2023-10-08 12:48:31 +00:00
catalog_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
client.go improve client RPC metrics consistency (#19721) 2023-12-06 13:21:08 -05:00
client_serf.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
client_test.go Retry lint fixes (#19151) 2023-12-06 12:11:32 -05:00
cluster_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config.go [CC-7041] Update and start the SCADA provider in HCP manager (#19976) 2024-01-08 09:49:29 -06:00
config_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_replication.go Hash based config entry replication (#19795) 2023-12-12 08:29:13 -05:00
config_replication_test.go Hash based config entry replication (#19795) 2023-12-12 08:29:13 -05:00
config_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
configentry_backend.go NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
configentry_backend_ce.go NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
configentry_backend_ce_test.go NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
configentry_backend_test.go NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
connect_ca_endpoint.go xds controller: setup watches for and compute leaf cert references in ProxyStateTemplate, and wire up leaf cert manager dependency (#18756) 2023-09-12 12:56:43 -07:00
connect_ca_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
context.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
context_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
coordinate_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
coordinate_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discovery_chain_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discovery_chain_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
enterprise_client_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
enterprise_config_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
enterprise_server_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
enterprise_server_ce_test.go Retry lint fixes (#19151) 2023-12-06 12:11:32 -05:00
federation_state_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
federation_state_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
federation_state_replication.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
federation_state_replication_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
filter.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
filter_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flood.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
gateway_locator.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
gateway_locator_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
grpc_integration_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
health_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
health_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
helper_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intention_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intention_endpoint_test.go Fix broken tests. (#20134) 2024-01-09 14:57:27 -06:00
internal_endpoint.go Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used (#20168) 2024-01-18 16:44:53 -06:00
internal_endpoint_test.go Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used (#20168) 2024-01-18 16:44:53 -06:00
issue_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
kvs_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
kvs_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader.go Create HCP management token in HCP manager (#19830) 2024-01-19 13:58:49 -05:00
leader_ce.go feat: create a default namespace (#19681) 2023-11-22 14:32:57 -05:00
leader_ce_test.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
leader_connect.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_connect_ca.go NET-5590 - authorization: check for identity:write in CA certs, xds server, and getting envoy bootstrap params (#19049) 2023-10-03 22:02:23 +00:00
leader_connect_ca_test.go NET-5590 - authorization: check for identity:write in CA certs, xds server, and getting envoy bootstrap params (#19049) 2023-10-03 22:02:23 +00:00
leader_connect_test.go Remove flaky test assertions (#18870) 2023-09-18 15:56:23 -07:00
leader_federation_state_ae.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_federation_state_ae_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_intentions.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_intentions_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
leader_intentions_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
leader_intentions_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_log_verification.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_metrics.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_metrics_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_peering.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_peering_test.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
leader_registrator_v1.go feat(v2): add consul service and workloads to catalog (#20077) 2024-01-03 15:14:42 -05:00
leader_registrator_v1_test.go feat(v2): add consul service and workloads to catalog (#20077) 2024-01-03 15:14:42 -05:00
leader_registrator_v2.go feat(v2): add consul service and workloads to catalog (#20077) 2024-01-03 15:14:42 -05:00
leader_registrator_v2_test.go feat(v2): add consul service and workloads to catalog (#20077) 2024-01-03 15:14:42 -05:00
leader_test.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
logging.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
logging_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
merge.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
merge_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
merge_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
merge_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_autopilot_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_autopilot_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_backend.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_backend_test.go remove the skipping of slow tests in go-tests-ce and go-test-enterprise (#20139) 2024-01-10 20:39:34 -07:00
operator_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_raft_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_raft_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_usage_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
options.go [OSS] feat: add experiments flag for v2 dns and skeleton interfaces (#20115) 2024-01-10 11:19:20 -05:00
options_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
peering_backend.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
peering_backend_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
peering_backend_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
peering_backend_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
prepared_query_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
prepared_query_endpoint_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
prepared_query_endpoint_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
prepared_query_endpoint_test.go Fix bug with prepared queries using sameness-groups. (#19970) 2023-12-15 11:42:13 -06:00
raft_handle.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
raft_rpc.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
replication.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
replication_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rpc.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
rpc_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rtt.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rtt_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
segment_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
serf_filter.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
serf_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server.go [CC-7044] Start HCP manager as part of link creation (#20312) 2024-01-29 16:31:44 -06:00
server_ce.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
server_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
server_connect.go sidecar-proxy controller: L4 controller with explicit upstreams (NET-3988) (#18352) 2023-09-07 09:37:15 -06:00
server_grpc.go NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
server_log_verification.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_lookup.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_lookup_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_metadata.go Use safeio to write server metadata file (#20101) 2024-01-05 14:46:19 -05:00
server_metadata_test.go agent: prevent empty server_metadata.json (#19935) 2023-12-19 10:01:56 -05:00
server_overview.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_overview_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_register.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_serf.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_test.go [CC-7044] Start HCP manager as part of link creation (#20312) 2024-01-29 16:31:44 -06:00
session_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_timers.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_timers_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_ttl.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_ttl_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
stats_fetcher.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
stats_fetcher_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
status_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
status_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
subscribe_backend.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
subscribe_backend_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
system_metadata.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
system_metadata_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
tenancy_bridge.go add v2 tenancy bridge Flag and v2 Tenancy Bridge initial implementation (#18830) 2023-09-18 12:25:05 -04:00
tenancy_bridge_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
txn_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
txn_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
type_registry.go Add Link resource type and controller skeleton (#19788) 2024-01-09 13:57:59 -05:00
util.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
util_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
v2_config_entry_exports_shim.go Net 7074/decentralized exported services management (#20318) 2024-01-23 19:44:10 -06:00