consul/agent/config
Matt Keeler 0242dcc5d2
Add ability to load a license from the configuration/environment (#10441)
This is mainly for forward compatibility with 1.10 where licensing requirements are changing.

For older releases we are adding the ability to load the license from a configuration/environment to facilitate a smoother upgrade process. For servers, we will allow the configuration to be set but it will not be used (a warning log is emitted saying as much). For client agents it will actually cause the license to be used in place of the auto-retrieval process.

Unlike with 1.10, client agents will not be able to update the license loaded via config with a reload. It is expected that this configuration is only used while on the path to upgrading to 1.10 and therefore the ability to reload the license should not be necessary.
2021-06-21 15:00:46 -04:00
..
testdata Merge pull request #9763 from hashicorp/dnephin/cache-warn-on-error-in-notify 2021-02-19 23:31:08 +00:00
agent_limits.go config: validate system limits against limits.http_max_conns_per_client (#7434) 2020-04-02 09:22:17 +02:00
agent_limits_test.go Merge pull request #9249 from hashicorp/dnephin/config-tags 2021-01-08 00:50:15 +00:00
builder.go Merge pull request #9252 from hashicorp/dnephin/config-unmethod 2021-01-27 22:32:25 +00:00
builder_oss.go Add ability to load a license from the configuration/environment (#10441) 2021-06-21 15:00:46 -04:00
builder_oss_test.go Add ability to load a license from the configuration/environment (#10441) 2021-06-21 15:00:46 -04:00
builder_test.go Merge pull request #9251 from hashicorp/dnephin/config-cleanup-flags-and-opts 2021-01-08 00:22:03 +00:00
config.go Add ability to load a license from the configuration/environment (#10441) 2021-06-21 15:00:46 -04:00
config_oss.go agent/config: add auditing config to OSS and add to enterpriseConfigMap exclusions 2020-05-11 13:27:35 -07:00
default.go Merge pull request #8812 from jjshanks/GH-8728 2021-05-18 19:33:13 +00:00
default_oss.go Merge pull request #9251 from hashicorp/dnephin/config-cleanup-flags-and-opts 2021-01-08 00:22:03 +00:00
doc.go Metrics service prefix (#3498) 2017-09-26 17:49:55 -07:00
flags.go Merge pull request #9251 from hashicorp/dnephin/config-cleanup-flags-and-opts 2021-01-08 00:22:03 +00:00
flags_test.go config: rename Flags to BuilderOpts 2020-06-16 12:51:19 -04:00
flagset.go
golden_test.go Merge pull request #9444 from hashicorp/dnephin/config-tests-sanitize 2021-01-11 22:43:01 +00:00
limits.go Add unconvert linter 2020-05-12 13:47:25 -04:00
limits_windows.go config: validate system limits against limits.http_max_conns_per_client (#7434) 2020-04-02 09:22:17 +02:00
merge.go Agent Auto Configuration: Configuration Syntax Updates (#8003) 2020-06-16 15:03:22 -04:00
merge_test.go Agent Auto Configuration: Configuration Syntax Updates (#8003) 2020-06-16 15:03:22 -04:00
runtime.go Merge pull request #9067 from naemono/6074-allow-config-MaxHeaderBytes 2021-01-05 17:29:33 +00:00
runtime_oss.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
runtime_oss_test.go Add ability to load a license from the configuration/environment (#10441) 2021-06-21 15:00:46 -04:00
runtime_test.go Add ability to load a license from the configuration/environment (#10441) 2021-06-21 15:00:46 -04:00
segment_oss.go Update to use a consulent build tag instead of just ent (#5759) 2019-05-01 11:11:27 -04:00
segment_oss_test.go testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00