Commit Graph

453 Commits (659ebc05a99e0457c02b1fe46c4efd508aa688a5)

Author SHA1 Message Date
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)
5 years ago
Matt Keeler d6e05482ab
Allow cancelling startup when performing auto-config (#8157)
5 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
Matej Urbas ce023359fe agent: configurable MaxQueryTime and DefaultQueryTime. (#3777)
5 years ago
Matt Keeler 3faee222f2
OSS changes to allow for parsing the enterprise DNS config prop… (#6959)
5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909)
5 years ago
Hans Hasselberg 9ff69194a2
tls: auto_encrypt and verify_incoming (#6811) (#6899)
5 years ago
Paul Banks cd1b613352
connect: Add AWS PCA provider (#6795)
5 years ago
Sarah Christoff 5e1c6e907b
Set MinQuorum variable in Autopilot (#6654)
5 years ago
rerorero 86c8e48dd9 fix: incorrect struct tag and WaitGroup usage (#6649)
5 years ago
PHBourquin 039615641e Checks to passing/critical only after reaching a consecutive success/failure threshold (#5739)
5 years ago
Sarah Christoff 194f5740ce
ui_content_path config option fix (#6601)
5 years ago
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
5 years ago
Hans Hasselberg faa54ab989
auto_encrypt: verify_incoming_rpc is good enough for auto_encrypt.allow_tls (#6376)
5 years ago
R.B. Boyer ae79cdab1b
connect: introduce ExternalSNI field on service-defaults (#6324)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Paul Banks e87cef2bb8 Revert "connect: support AWS PCA as a CA provider" (#6251)
5 years ago
Todd Radel 3497b7c00d
connect: support AWS PCA as a CA provider (#6189)
5 years ago
Todd Radel 2552f4a11a
connect: Support RSA keys in addition to ECDSA (#6055)
5 years ago
freddygv 1a14b94441 Update default gossip encryption key size to 32 bytes
5 years ago
R.B. Boyer c6c4a2251a Merge Consul OSS branch master at commit b3541c4f34
5 years ago
Jack Pearkes 4e0a16ab2d
config: correct limit to limits in config example (#6219)
5 years ago
Jeff Mitchell 94c73d0c92 Chunking support (#6172)
5 years ago
Matt Keeler 3053342198
Envoy Mesh Gateway integration tests (#6187)
5 years ago
R.B. Boyer ad9e7b6ae9
connect: allow L7 routers to match on http methods (#6164)
5 years ago
R.B. Boyer 85cf2706e6
connect: change router syntax for matching query parameters to resemble the syntax for matching paths and headers for consistency. (#6163)
5 years ago
R.B. Boyer 1dbd92e091
connect: validate and test more of the L7 config entries (#6156)
5 years ago
Alvin Huang ef6b80bab2 resolve circleci config conflicts
5 years ago
Pierre Souchay b4590fb8e8 Display nicely Networks (CIDR) in runtime configuration (#6029)
5 years ago
Paul Banks f38da47c55
Allow raft TrailingLogs to be configured. (#6186)
5 years ago
hashicorp-ci a4431da1cc Merge Consul OSS branch 'master' at commit ef257b084d
5 years ago
javicrespo b006060d4c log rotation: limit count of rotated log files (#5831)
5 years ago
R.B. Boyer 67a36e3452
handle structs.ConfigEntry decoding similarly to api.ConfigEntry decoding (#6106)
5 years ago