Commit Graph

566 Commits (2d19cd58107f57accd06a58f0bb619cfcf195155)

Author SHA1 Message Date
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
Jack Pearkes e6f1b78efb Make cluster names SNI always (#6081)
5 years ago
Matt Keeler 8d953f5840 Implement Mesh Gateways
6 years ago
hashicorp-ci 43bda6fb76 Merge Consul OSS branch 'master' at commit e91f73f592
6 years ago
R.B. Boyer 38d76c624e
Allow for both snake_case and CamelCase for config entries written with 'consul config write'. (#6044)
6 years ago
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
6 years ago
Akshay Ganeshen 98a35fbe69 dns: support alt domains for dns resolution (#5940)
6 years ago
hashicorp-ci f4304e2e5b Merge Consul OSS branch 'master' at commit 4eb73973b6
6 years ago
Sarah Christoff d3d92d76f3
ui: modify content path (#5950)
6 years ago
Pierre Souchay 0e907f5aa8 Support for maximum size for Output of checks (#5233)
6 years ago
Matt Keeler f3d9b999ee
Add tagged addresses for services (#5965)
6 years ago
Matt Keeler 69f902608c
Update to use a consulent build tag instead of just ent (#5759)
6 years ago
Matt Keeler d0f410cd84
Make a few config entry endpoints return 404s and allow for snake_case and lowercase key names. (#5748)
6 years ago
Freddy 44e3dd79ff
go fmt runtime_test.go
6 years ago
Freddy d19eb36085
Restrict config file extensions read
6 years ago
Paul Banks a12810664f
Modify ConfigEntry bootstrapping syntax more generic (#5744)
6 years ago
R.B. Boyer cc1aa3f973 acl: adding Roles to Tokens (#5514)
6 years ago
Matt Keeler 15e80e4e76
Implement bootstrapping proxy defaults from the config file (#5714)
6 years ago
Kyle Havlovitz 43bfc20dc8 Test an index=0 value in cache.Notify
6 years ago
Kyle Havlovitz c269369760 Make central service config opt-in and rework the initial registration
6 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568)
6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517)
6 years ago
R.B. Boyer 02b2cb1d15 agent: ensure the TLS hostname verification knows about the currently configured domain (#5513)
6 years ago
Hans Hasselberg 7e11dd82aa
agent: enable reloading of tls config (#5419)
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
Hans Hasselberg d35824b1fa default to tls 1.2 as promised. (#5340)
6 years ago
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Hans Hasselberg 786b3b1095
Centralise tls configuration part 1 (#5366)
6 years ago
Aestek f1cdfbe40e Allow DNS interface to use agent cache (#5300)
6 years ago
Paul Banks ef9f27cbc8
connect: tame thundering herd of CSRs on CA rotation (#5228)
6 years ago
Aestek c043de5381 [Security] Allow blocking Write endpoints on Agent using Network Addresses (#4719)
6 years ago
Paul Banks 0638e09b6e
connect: agent leaf cert caching improvements (#5091)
6 years ago
Hans Hasselberg 067027230b
connect: add tls config for vault connect ca provider (#5125)
6 years ago
Alejandro Guirao Rodríguez 9f33353c14 agent/config: Fix typo in comment (#5202)
6 years ago
Jack Pearkes b64e8b262f
Documentation and changes for `verify_server_hostname` (#5069)
6 years ago
Kyle Havlovitz 62691ebc82
config: remote connect replication_token
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Kyle Havlovitz c617326470 re-add Connect multi-dc config changes
6 years ago
Jack Pearkes 8bcfbaffb6 Revert "Connect multi-dc config" (#4784)
6 years ago
Aestek 25f04fbd21 [Security] Add finer control over script checks (#4715)
6 years ago
Pierre Souchay 251156eb68 Added SOA configuration for DNS settings. (#4714)
6 years ago
Kyle Havlovitz 56dc426227 agent: add primary_datacenter and connect replication config options
6 years ago
Paul Banks c9217c958e merge feedback: fix typos; actually use deliverLatest added previously but not plumbed in
6 years ago
Paul Banks 161482d2cd Fix up tests broken by master merge; add proxy tests to services command (and fix it!); actually run the proxycfg.Manager
6 years ago
Paul Banks 8336b5e6b9 XDS Server Config (#4730)
6 years ago
Paul Banks 1e7eace066 Add SidecarService Syntax sugar to Service Definition (#4686)
6 years ago
Paul Banks b83bbf248c Add Proxy Upstreams to Service Definition (#4639)
6 years ago
Igal Shprincis e1fe3af37f watch: don't set TLSConfig.Address explicitly (#4727)
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Siva Prasad ca35d04472
Adds a new command line flag -log-file for file based logging. (#4581)
6 years ago
Matt Keeler 0e0227792b
Gossip tuneables (#4444)
6 years ago
Paul Banks 8dd50d5b2d
Add config option to disable HTTP printable char path check (#4442)
6 years ago
Kyle Havlovitz ed87949385
Merge pull request #4400 from hashicorp/leaf-cert-ttl
6 years ago
Paul Banks 5635227fa6
Allow config-file based Service Definitions for unmanaged proxies and Connect-natice apps. (#4443)
6 years ago
Paul Banks d5e934f9ff
Ooops that was meant to be to a branch no master... EMORECOFFEE
6 years ago
Paul Banks eebe45a47b
Add config option to disable HTTP printable char path check
6 years ago
Paul Banks e954450dec
Merge pull request #4353 from azam/add-serf-lan-wan-port-args
6 years ago
Mitchell Hashimoto 7fa6bb022f
Merge pull request #4320 from hashicorp/f-alias-check
6 years ago
azam 342bcb1c24 Make Serf LAN & WAN port configurable from CLI
6 years ago
Kyle Havlovitz d6ca015a42
connect/ca: add configurable leaf cert TTL
6 years ago
Matt Keeler c891e264ca Fix issue with choosing a client addr that is 0.0.0.0 or ::
6 years ago
Mitchell Hashimoto f0658a0ede
agent/config: support configuring alias check
6 years ago
Matt Keeler 7572ca0f37
Merge pull request #4374 from hashicorp/feature/proxy-env-vars
6 years ago
Matt Keeler 0f56ed2d01 Set api.Config’s InsecureSkipVerify to the value of !RuntimeConfig.VerifyOutgoing
6 years ago
Matt Keeler 22e4058893 Use type switch instead of .Network for more reliably detecting UnixAddrs
6 years ago
Matt Keeler 700a275ddf Look specifically for tcp instead of unix
6 years ago
Matt Keeler c54b43bef3 PR Updates
6 years ago
Matt Keeler bd76a34002
Merge pull request #4365 from pierresouchay/fix_test_warning
6 years ago
Matt Keeler 3b6eef8ec6 Pass around an API Config object and convert to env vars for the managed proxy
6 years ago
Pierre Souchay 7d2e4b77ec Use %q, not %s as it used to
6 years ago
Pierre Souchay b112bdd52d Fixed compilation warning about wrong type
6 years ago
Pierre Souchay abde81a3e7 Added async-cache with similar behaviour as extend-cache but asynchronously
7 years ago
Mitchell Hashimoto 6ef28dece0
agent/config: parse upstreams with multiple service definitions
7 years ago
mkeeler 6813a99081 Merge remote-tracking branch 'connect/f-connect'
7 years ago
Kyle Havlovitz bc997688e3 connect/ca: update Consul provider to use new cross-sign CSR method
7 years ago
Kyle Havlovitz 6a2fc00997 connect/ca: add URI SAN support to the Vault provider
7 years ago
Kyle Havlovitz 1a8ac686b2 connect/ca: add the Vault CA provider
7 years ago
Paul Banks 597e55e8e2 Misc test fixes
7 years ago
Paul Banks c6ef6a61c9 Refactor to use embedded struct.
7 years ago
Paul Banks 9f559da913 Revert telemetry config changes ready for cleaner approach
7 years ago
Paul Banks d83f2e8e21 Expose telemetry config from RuntimeConfig to proxy config endpoint
7 years ago
Paul Banks 8aeb7bd206 Disable TestAgent proxy execution properly
7 years ago
Mitchell Hashimoto f7fc026e18 agent/config: AllowManagedAPIRegistration
7 years ago
Mitchell Hashimoto 4897ca6545 agent/config: add AllowManagedRoot
7 years ago
Kyle Havlovitz edbeeeb23c agent: update accepted CA config fields and defaults
7 years ago
Paul Banks 0824d1df5f Misc comment cleanups
7 years ago
Mitchell Hashimoto 927b45bf91 agent/config: move ports to `ports` structure, update docs
7 years ago
Mitchell Hashimoto 1830c6b308 agent: switch ConnectNative to an embedded struct
7 years ago
Paul Banks cdc7cfaa36 Abandon daemonize for simpler solution (preserving history):
7 years ago
Paul Banks 8cf4b3a6eb Sanity check that we are never trying to self-exec a test binary. Add daemonize bypass for TestAgent so that we don't have to jump through ridiculous self-execution hooks for every package that might possibly invoke a managed proxy
7 years ago
Matt Keeler 7f7c703118 Update the runtime tests
7 years ago
Matt Keeler 8216816e3f Make filtering out TXT RRs only apply when they would end up in Additional section
7 years ago
Mitchell Hashimoto 37dde6d64a
agent/config: add managed proxy upstreams config to skip
7 years ago
Mitchell Hashimoto 965a902474
agent/structs: validate service definitions, port required for proxy
7 years ago
Mitchell Hashimoto 9a62bce03b
agent/config: default connect enabled in dev mode
7 years ago
Mitchell Hashimoto aaa2431350
agent: change connect command paths to be slices, not strings
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Kyle Havlovitz b081c34255
Fix config tests
7 years ago
Kyle Havlovitz daa8dd1779
Add CA config to connect section of agent config
7 years ago
Paul Banks 3e3f0e1f31
HTTP agent registration allows proxy to be defined.
7 years ago
Paul Banks e6071051cf
Added connect proxy config and local agent state setup on boot.
7 years ago
Matt Keeler 6cc0422408 Add configuration entry to control including TXT records for node meta in DNS responses
7 years ago
Preetha Appan 3ff5fd6ec5
More docs and removed SnapShotInterval from raft timing struct stanza
7 years ago
Preetha Appan d721da7b67
Also make snapshot interval configurable
7 years ago
Preetha Appan ad09865562
fix spacing
7 years ago
Preetha Appan 66f31cd25a
Make raft snapshot commit threshold configurable
7 years ago
Jack Pearkes 291e8b83ae
Merge pull request #4097 from hashicorp/remove-deprecated
7 years ago
Paul Banks 92c6fe0b1e
Make it work for WAN join too and add tests
7 years ago
Dominik Lekse ba9991a145
Added support for sockaddr templates in start-join and retry-join configuration
7 years ago
Kyle Havlovitz 75953273e2
Remove unused retry join structs from config
7 years ago
Kyle Havlovitz ba3971d2c1
Remove deprecated metric names
7 years ago
Kyle Havlovitz b73323aa42
Remove the script field from checks in favor of args
7 years ago
Kyle Havlovitz cc214d45b6
Remove support for EnableTagOverride in config files
7 years ago
Kyle Havlovitz 6461087c25
Remove support for CheckID field in service check definitions
7 years ago
Dino Lukman d538b5666c Fix telemetry default prefix filter
7 years ago
Paul Banks c8db140ff7
Merge pull request #4047 from pierresouchay/added_missing_meta_in_service_definition
7 years ago
Pierre Souchay 303997ff55 Improved unit test (example close to actual value)
7 years ago
Pierre Souchay eccc223480 Fixed Meta name for JSON + Added unit tests for HCL/JSON
7 years ago
Pierre Souchay 06a181955d Use safer stringVal()
7 years ago
Pierre Souchay 9bb15730a6 Added unit test on key length
7 years ago
Pierre Souchay 2f5e67534d Added unit tests for bad meta values
7 years ago
Pierre Souchay d2ab3deacf [BUGFIX] Added Service Meta support in configuration files
7 years ago
Pierre Souchay a680c8e91b Clearer documentation and comments for enabling Prometheus support
7 years ago
Pierre Souchay 93a01b0949 Now use prometheus_retention_time > 0 to enable prometheus support
7 years ago
Pierre Souchay fd98fb1449 Added support exposing metrics in Prometheus format
7 years ago
Preetha a67d27c756
Adds discovery_max_stale (#4004)
7 years ago
Preetha Appan c7581d68c6
Renames agent API layer for service metadata to "meta" for consistency
7 years ago
Preetha daa61c5803
Merge pull request #3881 from pierresouchay/service_metadata
7 years ago
Preetha Appan 6c0bb5a810
Fix test and remove unused method
7 years ago
Preetha Appan d77ab91123
Allows disabling WAN federation by setting serf WAN port to -1
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Devin Canterberry 2187ab1e1c
🎨 Formatting changes only; convert leading space to tabs
7 years ago
Devin Canterberry 7236c95e11
Match expectation of TLSCipherSuites to values of tls_cipher_suites
7 years ago
Devin Canterberry c901307a47
🔒 Update supported TLS cipher suites
7 years ago
Pierre Souchay 0b7f620dc6 Allow to control the number of A/AAAA Record returned by DNS
7 years ago
Pierre Souchay 9a57dfd68a Fixed TestSanitize unit test
7 years ago
Kyle Havlovitz f6ecaa4a1c
Add enterprise default config section
7 years ago
James Phillips e748c63fff
Merge pull request #3855 from hashicorp/pr-3782-slackpad
7 years ago
James Phillips 5f31c8d8d3
Changes "TLS" to "GRPCUseTLS" since it only applies to GRPC checks.
7 years ago
Kyle Havlovitz 8c5be2dd97
Enforce a valid port for the Serf WAN since it can't be disabled.
7 years ago
James Hartig aedab91a66 Resolve symlinks in config directory
7 years ago
James Phillips ebcd1787db
Adds more info about how to fix the private IP error.
7 years ago
Dmytro Kostiuchenko 1a10b08e82 Add gRPC health-check #3073
7 years ago
James Phillips 98e837167e
Changes maps to merge vs. overwrite when processing configs.
7 years ago
James Phillips 46742a5041
Adds TODOs referencing #3744.
7 years ago
James Phillips 2892f91d0b
Copies the autopilot settings from the runtime config.
7 years ago
James Phillips 44d824a58f
Renames "segments" to "segment" to be consistent with other files.
7 years ago
James Phillips 34c13925d4
Skips files with unknown extensions when not forcing a format.
7 years ago
James Phillips 1e49c157c5
Adds a snapshot agent stub to the config structure.
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
Frank Schröder 874e350b2f config: add -config-format option (#3626)
7 years ago
Frank Schroeder 2e7ed2fd86
Merge pull request #3585 from hashicorp/document-runtime-config
7 years ago
Frank Schroeder 5bfb2808f9
Merge pull request #3598 from hashicorp/issue-3397-error-with-extra-flags
7 years ago
Frank Schroeder b97ab367f4
config: return error on extra command line arguments (#3397)
7 years ago
Frank Schroeder 1fef7f4b67
config: rename test struct field to args
7 years ago
Frank Schroeder f6e9ad99ec config: address review comments
7 years ago
Frank Schroeder 0ed4561f12 config: document remaining config options
7 years ago
Frank Schroeder 9864609201 config: document more config options
7 years ago
Frank Schroeder bf81cdea6e config: document more config options
7 years ago
Frank Schroeder 2682ce0b82 config: document more acl options
7 years ago
Frank Schroeder a38c69d784 config: document config options
7 years ago
Frank Schroeder 7396bd31fd config: document acl options
7 years ago
Frank Schroeder 7685ef409c config: document autopilot options
7 years ago
Frank Schroeder 5e57e9273e config: document dns options
7 years ago
Frank Schroeder 5f59857448 config: document http options
7 years ago
Frank Schroeder 7fede4472d config: document telemetry options
7 years ago
Frank Schroeder 21a7d399bd
config: address review comments
7 years ago
Frank Schroeder cf0a571a76
config: document remaining config options
7 years ago
Frank Schroeder 149ab13a13
config: document more config options
7 years ago
Frank Schroeder a8f709a875
config: document more config options
7 years ago
Frank Schroeder 6c64cf9b5d
config: document more acl options
7 years ago
Frank Schroeder ffb0f6ec8b
config: document config options
7 years ago
Frank Schroeder 70270d6d98
config: document acl options
7 years ago
Frank Schroeder 7f214b1e1c
config: document autopilot options
7 years ago
Frank Schroeder cfc891fc25
config: document dns options
7 years ago
Frank Schroeder d27617c60b
config: document http options
7 years ago
Frank Schroeder 625713dd72
config: document telemetry options
7 years ago
Frank Schroeder 1db8d3cb00 config: do not allow an ANY address as DNS recursor
7 years ago
Frank Schroeder 72bee6284d config: add support for go-sockaddr templates for DNS recursors
7 years ago
Frank Schroeder 8a9c81ed85
config: do not allow an ANY address as DNS recursor
7 years ago
Frank Schroeder 0a0d6af04d
config: add support for go-sockaddr templates for DNS recursors
7 years ago
Frank Schroeder 6780964eb8
config: remove redundant code
7 years ago
Frank Schroeder 0faff32c73
config: fix check for segment.port <= 0 and add test
7 years ago
James Phillips 16eb2ef014
Adds check to make sure port is given so we avoid a nil bind address.
7 years ago
Frank Schröder 94f58199b1 agent: add option to discard health output (#3562)
7 years ago
Frank Schröder 759ef8a1d4 config: add generic method to translate between CamelCase and snake_case (#3557)
7 years ago
James Phillips bb12368eac Makes RPC handling more robust when rolling servers. (#3561)
7 years ago
Victor Boivie 8e361beb7a Minor typo (boostrap)
7 years ago