consul/agent/config
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
..
testdata [NET-5916] Fix locality-aware routing config and tests (CE) (#19483) 2023-11-02 14:05:06 -05:00
agent_limits.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
builder.go [CC-7044] Start HCP manager as part of link creation (#20312) 2024-01-29 16:31:44 -06:00
builder_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
builder_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
builder_test.go v2: prevent use of the v2 experiments in secondary datacenters for now (#20299) 2024-01-19 16:31:49 -06:00
config.deepcopy.go Run copyright after running deep-copy as part of the Makefile/CI (#18741) 2023-09-11 13:50:52 -04:00
config.go [NET-5916] Fix locality-aware routing config and tests (CE) (#19483) 2023-11-02 14:05:06 -05:00
config_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
deep-copy.sh fix: NET-1521 show latest config in /v1/agent/self (#18681) 2023-09-08 09:47:31 +10:00
default.go Add grpc keepalive configuration. (#19339) 2023-10-24 08:05:31 -05:00
default_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
deprecated.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
deprecated_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
doc.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
file_watcher.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
file_watcher_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flags.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flags_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flagset.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
golden_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
limits.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
limits_windows.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
merge.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
merge_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ratelimited_file_watcher.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ratelimited_file_watcher_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
runtime.go [OSS] feat: add experiments flag for v2 dns and skeleton interfaces (#20115) 2024-01-10 11:19:20 -05:00
runtime_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
runtime_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
runtime_test.go Hash based config entry replication (#19795) 2023-12-12 08:29:13 -05:00
segment_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
segment_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00