Commit Graph

170 Commits (6d811175447fdfd61bff376316237af86eb973b1)

Author SHA1 Message Date
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