Commit Graph

483 Commits (6d047c453a1a6321d9ebe766afd46f891c5329b7)

Author SHA1 Message Date
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
Paul Banks 526bab6164
Add config changes for UI metrics
4 years ago
Daniel Nephin 4c9ed41eab
Merge pull request #8554 from hashicorp/dnephin/agent-setup-persisted-tokens
4 years ago
R.B. Boyer 119e945c3e
connect: all config entries pick up a meta field (#8596)
4 years ago
Daniel Nephin f1a41318d7 token: OSS support for enterprise tokens
4 years ago
Daniel Nephin 629e4aaa65 config: use token.Config for ACLToken config
4 years ago
Daniel Nephin 330be5b740 agent/token: Move token persistence out of agent
4 years ago
R.B. Boyer d1843456d2
agent: ensure that we normalize bootstrapped config entries (#8547)
4 years ago
Daniel Nephin e16375216d config: use logging.Config in RuntimeConfig
4 years ago
Daniel Nephin 63bad36de7 testing: disable global metrics sink in tests
4 years ago
Daniel Nephin 5d4df54296 agent: extract dependency creation from New
4 years ago
Daniel Nephin 35f1ecee0b config: Move remote-script-checks warning to config
4 years ago
Daniel Nephin 27b36bfc4e config: move NodeName validation to config validation
4 years ago
Daniel Nephin b4015969c9
Merge pull request #8515 from hashicorp/dnephin/unexport-testing-shims
4 years ago
Daniel Nephin d68edcecf4 testing: Remove all the defer os.Removeall
4 years ago
Daniel Nephin 8a4d292c8e config: unexport and resolve TODOs in config.Builder
4 years ago
Daniel Nephin 37eacf8192 auto-config: reduce awareness of config
4 years ago
Daniel Nephin 4297a8ba07 auto-config: Avoid the marshal/unmarshal cycle in auto-config
4 years ago
Daniel Nephin 38980ebb4c config: Make Source an interface
4 years ago
Matt Keeler 67dec3b609
Require token replication to be enabled in secondary dcs when ACLs are enabled with AutoConfig (#8451)
4 years ago
Hans Hasselberg d316cd06c1
auto_config implies connect (#8433)
4 years ago
Matt Keeler dbb461a5d3
Allow setting verify_incoming* when using auto_encrypt or auto_config (#8394)
4 years ago
Matt Keeler 34034b76f5
Agent Auto Config: Implement Certificate Generation (#8360)
4 years ago
Matt Keeler be01c4241d
Default Cache rate limiting options in New
4 years ago
Pierre Souchay 505de6dc29
Added ratelimit to handle throtling cache (#8226)
4 years ago
Matt Keeler 2ee9fe0a4d
Move generation of the CA Configuration from the agent code into a method on the RuntimeConfig (#8363)
4 years ago
Paul Coignet 1d75a8fb50
Fix tests
4 years ago
Paul Coignet a4e39c840b
Add default prefix_filter
4 years ago
André 3bc27df844
minor: fix docstring of DNSOnlyPassing (#8318)
4 years ago
Matt Keeler 4a5b352c18
Require enabling TLS to enable Auto Config (#8159)
4 years ago
Matt Keeler d6e05482ab
Allow cancelling startup when performing auto-config (#8157)
4 years ago
Matt Keeler b0fcf86140 Change auto config authorizer to allow for future extension
5 years ago
Matt Keeler 3dbbd2d37d
Implement Client Agent Auto Config
5 years ago
Daniel Nephin 692a4a8fc8
Merge pull request #7762 from hashicorp/dnephin/warn-on-unknown-service-file
5 years ago
Daniel Nephin be29d6bf75 config: warn when a config file is skipped
5 years ago
Daniel Nephin a9851e1812
Merge pull request #8070 from hashicorp/dnephin/add-gofmt-simplify
5 years ago
Matt Keeler 9f7b22a5eb
Agent Auto Configuration: Configuration Syntax Updates (#8003)
5 years ago
Daniel Nephin 068b43df90 Enable gofmt simplify
5 years ago
Daniel Nephin 476b57fe22 config: refactor to consolidate all File->Source loading
5 years ago
Daniel Nephin 219790ca49 config: Make ConfigFormat not a pointer
5 years ago
Daniel Nephin 77101eee82 config: rename Flags to BuilderOpts
5 years ago
Daniel Nephin 85e0338136 config: remove Args field from Flags
5 years ago
Daniel Nephin 8ec029ae6a Update comments that reference PatchSliceOfMaps
5 years ago
Daniel Nephin c66c533d73
Merge pull request #7964 from hashicorp/dnephin/remove-patch-slice-of-maps-forward-compat
5 years ago
Daniel Nephin 75cbbe2702 config: add HookWeakDecodeFromSlice
5 years ago
Hans Hasselberg 72f92ae7ca
agent: add option to disable agent cache for HTTP endpoints (#8023)
5 years ago
Daniel Nephin 99eb583ebc
Replace goe/verify.Values with testify/require.Equal (#7993)
5 years ago
R.B. Boyer ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
5 years ago
Daniel Nephin c88fae0aac ci: Add staticcheck and fix most errors
5 years ago
Daniel Nephin 6a2d7d77c0 config: use the new HookTranslateKeys instead of lib.TranslateKeys
5 years ago
Daniel Nephin 8ced4300c8 Add alias struct tags for new decode hook
5 years ago
Pierre Souchay e9d176db2a
Allow to restrict servers that can join a given Serf Consul cluster. (#7628)
5 years ago
Daniel Nephin 600645b5f9 Add unconvert linter
5 years ago
Kit Patella 10b3478a4d agent/config: include Audit struct as a pointer on Config, fix tests
5 years ago
Kit Patella f5030957d0 agent/config: add auditing config to OSS and add to enterpriseConfigMap exclusions
5 years ago
Matt Keeler cbe3a70f56
Update enterprise configurations to be in OSS
5 years ago
Matt Keeler bec3fb7c18
Some boilerplate to allow for ACL Bootstrap disabling configurability
5 years ago
Hans Hasselberg 1194fe441f
auto_encrypt: add validations for auto_encrypt.{tls,allow_tls} (#7704)
5 years ago
Kit Patella e2467f4b2c
Merge pull request #7656 from hashicorp/feature/audit/oss-merge
5 years ago
Kit Patella 3b105435b8 agent,config: port enterprise only fields to embedded enterprise structs
5 years ago
Kit Patella 4a86cb12c1 config/runtime: fix an extra field in config sanitize
5 years ago
Kit Patella 927f584761 agent: stub out auditing functionality in OSS
5 years ago
Kyle Havlovitz e9e8c0e730
Ingress Gateways for TCP services (#7509)
5 years ago
Pierre Souchay 4a6569a4e3
tests: change default http_max_conns_per_client to 250 to ease tests (#7625)
5 years ago
Pierre Souchay be1c5c4b48
config: validate system limits against limits.http_max_conns_per_client (#7434)
5 years ago
Emre Savcı 2083b7b04d
agent: add len, cap while initializing arrays
5 years ago
Pierre Souchay 54b22c638d
config: allow running `consul agent -dev -ui-dir=some_path` (#7525)
5 years ago
Freddy 18d356899c
Enable CLI to register terminating gateways (#7500)
5 years ago
Hans Hasselberg 7777891aa6
tls: remove old ciphers (#7282)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Kim Ngo a8f4123d37
agent/txn_endpoint: configure max txn request length (#7388)
5 years ago
Hans Hasselberg e05ac57e8f
tls: support tls 1.3 (#7325)
5 years ago
Hans Hasselberg 315d57bfb1
agent: sensible keyring error (#7272)
5 years ago
Hans Hasselberg cb0f94487c
config: increase http_max_conns_per_client default to 200 (#7289)
5 years ago
Akshay Ganeshen 8beb716414
feat: support sending body in HTTP checks (#6602)
5 years ago
Matt Keeler 9e5fd7f925
OSS Changes for various config entry namespacing bugs (#7226)
5 years ago
Freddy cb77fc6d01
Add managed service provider token (#7218)
5 years ago
Hans Hasselberg 5531678e9e
Security fixes (#7182)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Anthony Scalisi beb928f8de fix spelling errors (#7135)
5 years ago
R.B. Boyer 0f44bcd3d8
agent: default the primary_datacenter to the datacenter if not configured (#7111)
5 years ago
Hans Hasselberg 11a571de95
agent: setup grpc server with auto_encrypt certs and add -https-port (#7086)
5 years ago
Hans Hasselberg 804eb17094
connect: check if intermediate cert needs to be renewed. (#6835)
5 years ago
Hans Hasselberg 87f32c8ba6
auto_encrypt: set dns and ip san for k8s and provide configuration (#6944)
5 years ago
Aestek ba8fd8296f Add support for dual stack IPv4/IPv6 network (#6640)
5 years ago