Commit Graph

567 Commits (b9051a342c153f64937e9a38fbde0df728f8dca5)

Author SHA1 Message Date
Kyle Havlovitz 3b44343276 Add a field to disable following redirects on http checks
3 years ago
Mark Anderson 98a2e282be Fixup acl.EnterpriseMeta
3 years ago
Dhia Ayachi 83720e5737
add a rate limiter to config auto-reload (#12490)
3 years ago
FFMMM 973d2d0f9a
mark disable_compat_1.9 to deprecate in 1.13, change default to true (#12675)
3 years ago
Dhia Ayachi 16b19dd82d
auto-reload configuration when config files change (#12329)
3 years ago
FFMMM 1adfd7b94c
polish rpc.service.call metric behavior (#12624)
3 years ago
Eric e4b4f175ed Bump go-control-plane
3 years ago
Mike Morris f8a2ae2606
agent: convert listener config to TLS types (#12522)
3 years ago
Dan Upton b36d4e16b6
Support per-listener TLS configuration ⚙️ (#12504)
3 years ago
mrspanishviking 7180c99960
Revert "[Docs] Agent configuration hierarchy "
3 years ago
trujillo-adam 4151dc097a fixing merge conflicts part 3
3 years ago
trujillo-adam 76d55ac2b4 merging new hierarchy for agent configuration
3 years ago
Eric 3302b2eec2 Add the `connect.enable_serverless_plugin` configuration option.
3 years ago
Dhia Ayachi cd9d8d44a5
file watcher to be used for configuration auto-reload feature (#12301)
3 years ago
R.B. Boyer b60d89e7ef bulk rewrite using this script
3 years ago
Daniel Nephin 0166b0839c config: correctly capture all errors.
3 years ago
FFMMM 74eb257b1c
[sync ent] increase segment max limit to 4*64, make configurable (#1424) (#11795)
3 years ago
Dan Upton 7fe81171d9
Rename `ACLMasterToken` => `ACLInitialManagementToken` (#11746)
3 years ago
Dan Upton 3a91815169
agent/token: rename `agent_master` to `agent_recovery` (internally) (#11744)
3 years ago
freddygv 5c1f7aa372 Allow cross-partition references in disco chain
3 years ago
Daniel Nephin e47cecc653 config: add NoFreelistSync option
3 years ago
Dan Upton d8afd2f6c8
Rename `master` and `agent_master` ACL tokens in the config file format (#11665)
3 years ago
R.B. Boyer db91cbf484
auto-config: ensure the feature works properly with partitions (#11699)
3 years ago
R.B. Boyer 1e02460bd1
re-run gofmt on 1.17 (#11579)
3 years ago
Kyle Havlovitz 6c0bd0550f
Merge pull request #11461 from deblasis/feature/empty_client_addr_warning
3 years ago
FFMMM 4ddf973a31
add root_cert_ttl option for consul connect, vault ca providers (#11428)
3 years ago
Daniel Nephin 51d8417545
Merge pull request #10690 from tarat44/h2c-support-in-ping-checks
3 years ago
Alessandro De Blasis 2f970555d9 config: warn the user if client_addr is empty
3 years ago
Daniel Nephin 0784a31e85 acl: remove init check for legacy anon token
3 years ago
FFMMM 0954d261ae
use *telemetry.MetricsPrefix as prometheus.PrometheusOpts.Name (#11290)
3 years ago
tarat44 3fe637156c add test cases for h2ping_use_tls default behavior
3 years ago
tarat44 ecdcfd6360 only set default on H2PingUseTLS if H2PING is set
3 years ago
tarat44 ca2e7c2039 fix formatting
3 years ago
tarat44 c1ed3a9a94 change config option to H2PingUseTLS
3 years ago
tarat44 3c9f5a73d9 add support for h2c in h2 ping health checks
3 years ago
Daniel Nephin 1502547e38 Revert "Merge pull request #10588 from hashicorp/dnephin/config-fix-ports-grpc"
3 years ago
Daniel Nephin e8ac5fd90b config: Move ACLEnableKeyListPolicy to DeprecatedConfig
3 years ago
Daniel Nephin 5c40b717ed config: move acl_ttl to DeprecatedConfig
3 years ago
Daniel Nephin 977f6d8888 config: move acl_{default,down}_policy to DeprecatedConfig
3 years ago
Daniel Nephin 5eafcea4d4 config: Deprecate EnableACLReplication
3 years ago
Daniel Nephin 5dc16180ad config: move ACL master token and replication to DeprecatedConfig
3 years ago
Daniel Nephin 54256fb751 config: Move two more fields to DeprecatedConfig
3 years ago
Daniel Nephin 8ed14296ea config: Introduce DeprecatedConfig
3 years ago
Freddy e18f3c1f6d
Update error texts (#11022)
3 years ago
Daniel Nephin 1f9479603c
Add failures_before_warning to checks (#10969)
3 years ago
R.B. Boyer a6d22efb49
acl: some acl authz refactors for nodes (#10909)
3 years ago
Dhia Ayachi 1950ebbe1f
oss portion of ent #1069 (#10883)
3 years ago
R.B. Boyer 097e1645e3
agent: ensure that most agent behavior correctly respects partition configuration (#10880)
3 years ago
Daniel Nephin d5498770fa acl: make ACLDisabledTTL a constant
3 years ago
Daniel Nephin 17841248dd config: remove ACLResolver settings from RuntimeConfig
3 years ago
Daniel Nephin 7160f7a614 acl: remove ACLDatacenter
3 years ago
Blake Covarrubias 11f1f3fe34 Add OSS changes for specifying audit log permission mode
3 years ago
Daniel Nephin 242b3a2dc5 streaming: set a default timeout
3 years ago
Chris S. Kim 91c90a672a
agent: update proxy upstreams to inherit namespace from service (#10688)
3 years ago
R.B. Boyer 188e8dc51f
agent/structs: add a bunch more EnterpriseMeta helper functions to help with partitioning (#10669)
3 years ago
Blake Covarrubias a0cd3dd88e
Add DNS recursor strategy option (#10611)
3 years ago
Daniel Nephin bb675139c1
Merge pull request #10567 from hashicorp/dnephin/config-unexport-build
3 years ago
Daniel Nephin bb7fb21004
Fix godoc comment
3 years ago
Daniel Nephin 233d03dbbd Apply suggestions from code review
3 years ago
Daniel Nephin c48f26b0a6 config: update config settings and flags for ports.xds
3 years ago
Daniel Nephin 895bf9adec config: update GRPCPort and addr in runtime config
3 years ago
R.B. Boyer c94b8c6a39
config: add agent config flag for enterprise clients to indicate they wish to join a particular partition (#10572)
3 years ago
Daniel Nephin d1c9d9bc68 config: unexport the remaining builder methods
3 years ago
Daniel Nephin 3a045cca8d ca: remove unused RotationPeriod field
3 years ago
Daniel Nephin f34d3543b1 testing: fix a test for 32-bit
3 years ago
Daniel Nephin 0a14a3e17c inline assignment
3 years ago
Freddy ffb13f35f1
Rename CatalogDestinationsOnly (#10397)
3 years ago
Freddy 429f9d8bb8
Add flag for transparent proxies to dial individual instances (#10329)
4 years ago
Matt Keeler da31e0449e Move some things around to allow for license updating via config reload
4 years ago
Matt Keeler 50cc9fdd06 Add OSS bits for supporting specifying the enterprise license via config
4 years ago
Daniel Nephin 6bda3a48ba
Merge pull request #10200 from hashicorp/dnephin/backport-audit-log-config-changes
4 years ago
Joshua Shanks 00ca99bf67 GH-8728 add raft default values
4 years ago
Daniel Nephin 49e7e37cc7 config: handled deprecated config key with a warning
4 years ago
Daniel Nephin 0ddbb98668 Backport audit log config changes from enterprise
4 years ago
Mark Anderson 4aa0a0b2a3 Fixup agent/config tests
4 years ago
Daniel Nephin 347f3d2128
Merge pull request #10155 from hashicorp/dnephin/config-entry-remove-fields
4 years ago
Mark Anderson 8040f91a43 Add support for downstreams
4 years ago
Mark Anderson 583ae65d5b Convert mode to string representation
4 years ago
Mark Anderson 06f0f79218 Continue working through proxy and agent
4 years ago
Mark Anderson 8b1217417a First changes for unix domain sockets upstreams
4 years ago
Daniel Nephin 62efaaab21 config-entry: remove Kind and Name field from Mesh config entry
4 years ago
Daniel Nephin bb472111fd config: default UseStreamingBackend to true
4 years ago
Freddy 078c40425f
Rename "cluster" config entry to "mesh" (#10127)
4 years ago
freddygv 7bd51ff536 Replace TransparentProxy bool with ProxyMode
4 years ago
Tara Tufano 9deb52e868
add http2 ping health checks (#8431)
4 years ago
R.B. Boyer 499fee73b3
connect: add toggle to globally disable wildcard outbound network access when transparent proxy is enabled (#9973)
4 years ago
Freddy 8207b832df
Add TransparentProxy option to proxy definitions
4 years ago
Christopher Broglie f0307c73e5 Add support for configuring TLS ServerName for health checks
4 years ago
freddygv 6fd30d0384 Add TransparentProxy opt to proxy definition
4 years ago
Silas Rech ab9c484137
Fix advertise_addr_wan_ipv6 configuration key
4 years ago
Daniel Nephin 3aec942b17 streaming: default rpc.enable_streaming to true
4 years ago
Daniel Nephin 1f9247677b
Merge pull request #9763 from hashicorp/dnephin/cache-warn-on-error-in-notify
4 years ago
Daniel Nephin b91c5a8383 config: rename testCase fields
4 years ago
Daniel Nephin 534631659c config: make TestLoad_IntegrationWithFlags easier to work with
4 years ago
Daniel Nephin bd728df345 move test case iteration to caller
4 years ago
Daniel Nephin f86ceea803 config: remove test cases for impossible scenarios
4 years ago
Daniel Nephin 76787d4dd0 Fix error checking
4 years ago
Daniel Nephin 863551beb4 config: move testing shims to LoadOpts
4 years ago
Daniel Nephin 4411da5ddd Remove patchActual, does not appear to be necessary
4 years ago
Daniel Nephin d9b8d30cad cache: log a warning when Cache.Notify handles an error
4 years ago
Daniel Nephin 1dcafa51a4 config: make config.TestLoad_FullConfig use config.Load
4 years ago
Daniel Nephin a0dd45941b config: Unexport Builder and NewBuilder
4 years ago
Daniel Nephin 32d36d0dd4 config: replace calls to config.NewBuilder with config.Load
4 years ago
Daniel Nephin 97a577502d config: improve the interface of Load
4 years ago
Daniel Nephin 27df0d9a78
Merge pull request #9252 from hashicorp/dnephin/config-unmethod
4 years ago
Daniel Nephin e66af1a559 agent/consuk: Rename RPCRate -> RPCRateLimit
4 years ago
Daniel Nephin e35d5c93c7 config: remove Builder receiver from funcs that dont use it
4 years ago
Daniel Nephin c500182105 config: Use golden for TestRuntimeConfig_Sanitize
4 years ago
Pierre Souchay 7c1b69cbeb
Display a warning when rpc.enable_streaming = true is set on a client (#9530)
4 years ago
Daniel Nephin 6f1f679457
Merge pull request #9250 from hashicorp/dnephin/config-tags-2
4 years ago
Daniel Nephin 7b45d0baea
Merge pull request #9249 from hashicorp/dnephin/config-tags
4 years ago
Daniel Nephin de7e1d7ca1 config: remove unnecessary json/hcl struct tags
4 years ago
Daniel Nephin 724a281e1c config: Use config fields to warn about enterprise settings
4 years ago
Daniel Nephin a9285ad76a
Merge pull request #9251 from hashicorp/dnephin/config-cleanup-flags-and-opts
4 years ago
Daniel Nephin ce1deae3c8 config: use LiteralConfig for flag values
4 years ago
Daniel Nephin a9734b69c5 config: remove t.Parallel and some unused fields from tests
4 years ago
Michael Montgomery ba3fe0c875 Remove unneeded test
4 years ago
Michael Montgomery e4f603dfae Merge branch 'master' into 6074-allow-config-MaxHeaderBytes
4 years ago
Michael Montgomery 817903b925 Fixed failing tests
4 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short
4 years ago
Hans Hasselberg 44674bcdf8
fix serf_wan documentation (#9289)
4 years ago
Daniel Nephin a1e4b69527 config: remove unused const
4 years ago
Daniel Nephin 78f767e78c config: move testing shims to BuilderOpts
4 years ago
Daniel Nephin 0a44906fe3 config: Use LiteralSource for some defaults
4 years ago
Michael Montgomery 585c84e9ff Merge branch 'master' into 6074-allow-config-MaxHeaderBytes
4 years ago
Matt Keeler 66fd23d67f
Refactor to call non-voting servers read replicas (#9191)
4 years ago
Kit Patella 8e554ee74b Merge branch 'mkcp/telemetry/add-all-metric-definitions' of ssh://github.com/hashicorp/consul into mkcp/telemetry/add-all-metric-definitions
4 years ago
Kit Patella ad4cebc1d8 fix some tests that were broken from the TelemetryConfig change
4 years ago
Kit Patella fc30f07cc7
linting: sort and group import
4 years ago
Kit Patella 2fe021f03c update runtime_test to handle PrometheusOpts expiry field change
4 years ago
Kit Patella 5e0e4098c9 push prometheus sink definiitons into prometheus.PrometheusOpts
4 years ago
R.B. Boyer 61eac21f1a
agent: return the default ACL policy to callers as a header (#9101)
4 years ago
Matt Keeler c048e86bb2
Switch to using the external autopilot module
4 years ago
R.B. Boyer 8e616a93c1
agent: sanitize ui metrics proxy header values on agent/self endpoint (#9104)
4 years ago
R.B. Boyer a66c4591d7
agent: introduce path allow list for requests going through the metrics proxy (#9059)
4 years ago
Michael Montgomery 5b6ac035ff Resolves #6074. Adds new option to configure HTTP Server's MaxHeaderBytes with option `-http-max-header-bytes`
4 years ago
Daniel Nephin 853667e7d8 health: change the name of UseStreamingBackend config
4 years ago
Daniel Nephin ea77eccb14
Merge pull request #8825 from hashicorp/streaming/add-config
4 years ago
Daniel Nephin e7d505dc33 config: add field for enabling streaming in the client
4 years ago
Matt Keeler 0d8bf9c62c
Remove oss/ent divergence of runtime_test.go (#8903)
4 years ago
Kit Patella adeabf2399
Merge pull request #8877 from hashicorp/mkcp/telemetry/consul.api.http
4 years ago
Matt Keeler 38f5ddce2a
Add per-agent reconnect timeouts (#8781)
4 years ago
Daniel Nephin b93577c94f config: add field for enabling streaming RPC endpoint
4 years ago
Kit Patella 7fe2f80b4b add config flag to disable 1.9 metrics backwards compatibility. Add warnings on start and reload on default value
4 years ago
R.B. Boyer a2a8e9c783
connect: intentions are now managed as a new config entry kind "service-intentions" (#8834)
4 years ago
Kit Patella f5c51ae13b remove consul.api.http from filtered metric prefixes
4 years ago
Kit Patella 52451cf846
Merge pull request #8271 from coignetp/http-metrics-label
4 years ago
Paul Banks d0c160130b
Merge pull request #8694 from hashicorp/ui-config-metrics
4 years ago
R.B. Boyer 9801ef8eb1
agent: enable enable_central_service_config by default (#8746)
4 years ago
Paul Banks f6d55e1d25
Fix reload test; address other PR feedback
4 years ago