Commit Graph

2287 Commits (674c5570b6c2d8f0e00972bc130efe4626bed2d7)

Author SHA1 Message Date
Daniel Nephin 0420d91cdd Remove LogOutput from Agent
4 years ago
R.B. Boyer c599a2f5f4
xds: add support for envoy 1.15.0 and drop support for 1.11.x (#8424)
4 years ago
Marc Billow 6960afdfe3 Simple tls cert create help text typo
4 years ago
Chris Piraino 7c4cc71131
Fix envoy bootstrap logic to not append multiple self_admin clusters (#8371)
4 years ago
Alvin Huang dd9f5928fc
add v to version pretty formatter (#8341)
4 years ago
Kit Patella 0fe7e987f0 command/kv: remove error case in put and edit error message for delete
4 years ago
Kit Patella f530fe558f command: fix cas put when index=0 and better errors in put and delete
4 years ago
Hans Hasselberg 496fb5fc5b
add support for envoy 1.14.4, 1.13.4, 1.12.6 (#8216)
4 years ago
Matt Keeler fb9517bae8
Merge pull request #8268 from hashicorp/feature/improved-version-output
4 years ago
R.B. Boyer 1eef096dfe
xds: version sniff envoy and switch regular expressions from 'regex' to 'safe_regex' on newer envoy versions (#8222)
4 years ago
Matt Keeler 680ac0c1c6
Add Revision to version CLI output and add JSON support
4 years ago
Chris Piraino ea683ebb6c
cli: Output message on success when writing/deleting entries (#7806)
4 years ago
R.B. Boyer 462f0f37ed
connect: various changes to make namespaces for intentions work more like for other subsystems (#8194)
4 years ago
Matt Keeler e2cfa93f02
Don’t leak metrics go routines in tests (#8182)
4 years ago
freddygv c791fbc79c Update namespaces subject-verb agreement
4 years ago
Matt Keeler d6e05482ab
Allow cancelling startup when performing auto-config (#8157)
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 068b43df90 Enable gofmt simplify
5 years ago
Matt Keeler d3881dd754
ACL Node Identities (#7970)
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
Hans Hasselberg e62a43c6cf
Support envoy 1.14.2, 1.13.2, 1.12.4 (#8057)
5 years ago
Kyle Havlovitz 6fd3b25313 Fix a CLI test failure with namespaces in enterprise
5 years ago
Kyle Havlovitz 0c8966220f
Merge pull request #8040 from hashicorp/ingress/expose-cli
5 years ago
Kyle Havlovitz e3a725c4e0 Always allow updating the exposed service and differentiate by namespace
5 years ago
Kyle Havlovitz edab5588d8 Add -host flag to expose command
5 years ago
Kyle Havlovitz 5958328552 Allow multiple listeners per service via expose command
5 years ago
Daniel Nephin 75cbbe2702 config: add HookWeakDecodeFromSlice
5 years ago
Kyle Havlovitz acae044df4 Document the namespace format for expose CLI command
5 years ago
Kyle Havlovitz b874c8ef0c Add connect expose CLI command
5 years ago
R.B. Boyer 4d083103e2
fix some flaky snapshot tests (#8015)
5 years ago
R.B. Boyer 833211c14c
acl: allow auth methods created in the primary datacenter to optionally create global tokens (#7899)
5 years ago
R.B. Boyer ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
5 years ago
Jono Sosulska c554ba9e10
Replace whitelist/blacklist terminology with allowlist/denylist (#7971)
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
Kyle Havlovitz b14696e32a
Standardize support for Tagged and BindAddresses in Ingress Gateways (#7924)
5 years ago
Daniel Nephin c662f0f0de Fix a number of problems found by staticcheck
5 years ago
Freddy ccd0822539
Use proxy-id in gateway auto-registration (#7845)
5 years ago
Daniel Nephin 600645b5f9 Add unconvert linter
5 years ago
R.B. Boyer 1efafd7523
acl: add auth method for JWTs (#7846)
5 years ago
R.B. Boyer 7414a3fa53
cli: ensure 'acl auth-method update' doesn't deep merge the Config field (#7839)
5 years ago
Kyle Havlovitz 136549205c
Merge pull request #7759 from hashicorp/ingress/tls-hosts
5 years ago
R.B. Boyer 82379779a2
cli: oss refactors to support making the auth method CLI aware of namespace rules in enterprise (#7812)
5 years ago
R.B. Boyer 56ea112908
test: make auth method cli crud test work in both oss and ent (#7800)
5 years ago
Chris Piraino 0c22eacca8 Add TLS field to ingress API structs
5 years ago
R.B. Boyer db870ba92b
test: make auth method cli crud test helper ignore the default namespace (#7799)
5 years ago
Chris Piraino f40833d094 Allow Hosts field to be set on an ingress config entry
5 years ago
Chris Piraino b73a13fc9e Remove service_subset field from ingress config entry
5 years ago
R.B. Boyer 22eb016153
acl: add MaxTokenTTL field to auth methods (#7779)
5 years ago
s-christoff f9956c1c46
cli: Add -config flag to "acl authmethod update/create" (#7776)
5 years ago
R.B. Boyer ca52ba7068
acl: add DisplayName field to auth methods (#7769)
5 years ago
Freddy 137a2c32c6
TLS Origination for Terminating Gateways (#7671)
5 years ago
R.B. Boyer b989967791
cli: ensure that 'snapshot save' is fsync safe and also only writes to the requested file on success (#7698)
5 years ago
R.B. Boyer 5f1518c37c
cli: fix usage of gzip.Reader to better detect corrupt snapshots during save/restore (#7697)
5 years ago
Chris Piraino 3d2de925d8
Add support for ingress-gateway in CLI command (#7618)
5 years ago
Daniel Nephin 25b585d0bf Fix golden file for envoy tests
5 years ago
Daniel Nephin 6b860c926f
Merge pull request #7608 from hashicorp/dnephin/grpc-default-scheme
5 years ago
Hans Hasselberg 66415be90e
connect: support envoy 1.14.1 (#7624)
5 years ago
Freddy aae14b3951
Add decode rules for Expose cfg in service-defaults (#7611)
5 years ago
Daniel Nephin 8b6861518f Fix CONSUL_HTTP_ADDR=https not enabling TLS
5 years ago
Daniel Nephin 0888c6575b Step 3: fix a bug in api.NewClient and fix the tests
5 years ago
Daniel Nephin 1a8ffec6a7 Step 2: extract the grpc address logic and a new type
5 years ago
Daniel Nephin 830b4a15f6 Step 1: move all the grpcAddr logic into the same spot
5 years ago
Freddy b61214ef24
Fix regression with gateway registration and update docs (#7582)
5 years ago
Daniel Nephin 0d8edc3e27
Merge pull request #7562 from hashicorp/dnephin/remove-tname-from-name
5 years ago
Daniel Nephin e759daafdd Rename NewTestAgentWithFields to StartTestAgent
5 years ago
Daniel Nephin f9f6b14533 Convert the remaining calls to NewTestAgentWithFields
5 years ago
Daniel Nephin 475659a132 Remove name from NewTestAgent
5 years ago
Freddy 90576060bc
Add config entry for terminating gateways (#7545)
5 years ago
Kyle Havlovitz c911174327
Add config entry/state for Ingress Gateways (#7483)
5 years ago
Daniel Nephin 09d0876b6c command: remove unused logOutput field
5 years ago
Matt Keeler 37694bbb9c
Add optional JSON format to the ACL CLI commands output (#7198)
5 years ago
Freddy 18d356899c
Enable CLI to register terminating gateways (#7500)
5 years ago
Artur Mullakhmetov 845b9c23fe Return error code in case of formatting failure.
5 years ago
Artur Mullakhmetov eab5b81d91 Add ACL CLI commands output format option.
5 years ago
Daniel Nephin e5d6273a48
command/envoy: Refactor flag parsing/validation (#7504)
5 years ago
Daniel Nephin a95974cf79 Remove unnecessary methods
5 years ago
Daniel Nephin 8df3746927 cmd: use env vars as defaults
5 years ago
Daniel Nephin 6e10616b13 Fix tests failing on master
5 years ago
Hans Hasselberg d5f4b8c3a3
envoy: default to 1.13.1 (#7452)
5 years ago
Hans Hasselberg bf6a91af94
docs: fix filenames (#7453)
5 years ago
Chris Piraino d3dd49b79c
Log "vew version available" message at info level (#7462)
5 years ago
R.B. Boyer dfe5ba134b
fix flaky TestCatalogListNodesCommand_verticalBar test (#7422)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Alex Dzyoba 4137d06f9f
command: change delim in columnize to funny node names (#6652)
5 years ago
Johannes Scheuermann f8ded993af
agent: log error when agent crashes in an early stage (#7411)
5 years ago
Chris Piraino d7fdb249fc
Fix -mesh-gateway flag help text (#7265)
5 years ago
Lars Lehtonen 26d706eecd
monitor: fix dropped error (#7206)
5 years ago
Hans Hasselberg 6739fe6e83
connect: add validations around intermediate cert ttl (#7213)
5 years ago
Hans Hasselberg 9cb7adb304
add envoy version 1.12.2 and 1.13.0 to the matrix (#7240)
5 years ago
R.B. Boyer 36982d5274
cli: fix typo in -namespace help text (#7225)
5 years ago
Paschalis Tsilias a335aa57c5
Expose Envoy's /stats for statsd agents (#7173)
5 years ago
Michael Hofer 4ab3af0ede
docs: add missing Autopilot -min-quorum documentation (#7192)
5 years ago
Lars Lehtonen 699d1b2acb
cli: check previously ignored errors when updating a policy (#6565)
5 years ago
R.B. Boyer cf29bd4dcf
cli: improve the file safety of 'consul tls' subcommands (#7186)
5 years ago
Matt Keeler bfc03ec587
Fix a couple bugs regarding intentions with namespaces (#7169)
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
Matt Keeler c09693e545
Updates to Config Entries and Connect for Namespaces (#7116)
5 years ago
Paul Lesiak 527daba03c bug: Consul lock does not receive signals if lock not acquired (#5909)
5 years ago
Hans Hasselberg 804eb17094
connect: check if intermediate cert needs to be renewed. (#6835)
5 years ago
Aestek ba8fd8296f Add support for dual stack IPv4/IPv6 network (#6640)
5 years ago
Hans Hasselberg ab2f2484ad
connect: use inline_string instead for envoy ca(#7024)
5 years ago
Matt Keeler c276e2a634
Revert "Remove docs refs to NS inference from ACL token" (#6976)
5 years ago
Matt Keeler 34e6e23d43
Change how namespaces are specified for the CLI (#6960)
5 years ago
Hans Hasselberg 1661041046
envoy: replace ca filename with inline_bytes. (#6822)
5 years ago
freddygv 3a8426de9c Remove docs refs to NS inference from ACL token
5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909)
5 years ago
Matt Keeler a704ebe639
Add Namespace support to the API module and the CLI commands (#6874)
5 years ago
Aestek 6817676223 Fix consul connect token env variable doc (#5942)
5 years ago
Sarah Adams aed5cb7669
give feedback to CLI user on forceleave command if node does not exist (#6841)
5 years ago
Matt Keeler b069d6777b
OSS KV Modifications to Support Namespaces
5 years ago
Chris Piraino 646da639ee Allow services register command to register an unnamed check
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
Sarah Christoff 5e26971864
Prune Unhealthy Agents (#6571)
5 years ago
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
5 years ago
Sarah Adams 001137e5e5
test: ensure all TestAgent constructions use a constructor (#6443)
5 years ago
Sarah Adams 4ed5515fca
refactor & add better retry logic to NewTestAgent (#6363)
5 years ago
R.B. Boyer ae79cdab1b
connect: introduce ExternalSNI field on service-defaults (#6324)
5 years ago
R.B. Boyer 72207256b9
xds: improve how envoy metrics are emitted (#6312)
5 years ago
hashicorp-ci 5919c7c184 Merge Consul OSS branch 'master' at commit 8f7586b339
5 years ago
Sarah Adams 8ff1f481fe
add flag to allow /operator/keyring requests to only hit local servers (#6279)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
R.B. Boyer 165e5cd6b1
command: ensure that the json form of config entries can be submitted with 'consul config write' (#6290)
5 years ago
Alvin Huang 9f58504f1c
Merge pull request #6274 from hashicorp/merge-master-de01a1e
5 years ago
Alvin Huang 37ea271eb7 fix grpc-addr-config hosts template
5 years ago
Alvin Huang 206b2016a4 Merge remote-tracking branch 'origin/master' into release/1-6
5 years ago
R.B. Boyer c395affc93
connect: expose an API endpoint to compile the discovery chain (#6248)
5 years ago
Sarah Adams 896749d585
fix 'consul connect envoy' to try to use previously-configured grpc port (#6245)
5 years ago
freddygv 1a14b94441 Update default gossip encryption key size to 32 bytes
5 years ago
Matt Keeler 1fdda51839
Fix envoy canBind (#6238)
5 years ago
Matt Keeler 59454c7edc
Set --max-obj-name-len 256 when execing Envoy (#6202)
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
Alvin Huang ef6b80bab2 resolve circleci config conflicts
5 years ago
Christian Muehlhaeuser 7753b97cc7 Simplified code in various places (#6176)
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
Christian Muehlhaeuser 61ff1d20bf Avoid unnecessary conversions (#6178)
5 years ago
hashicorp-ci fa20c7db97 Merge Consul OSS branch 'master' at commit 95dbb7f2f1
5 years ago
Freddy d219e31db8
Update retries that weren't using retry.R (#6146)
5 years ago
Jack Pearkes 338aed32af Merge branch 'master' into release/1-6
5 years ago
R.B. Boyer 67a36e3452
handle structs.ConfigEntry decoding similarly to api.ConfigEntry decoding (#6106)
5 years ago
Matt Keeler 6e65811db2
Envoy CLI bind addresses (#6107)
5 years ago
Freddy 5873c56a03
Flaky test overhaul (#6100)
5 years ago
Michael Schurter b5aab27c21 connect: allow overriding envoy listener bind_address (#6033)
5 years ago
R.B. Boyer 065550e1c5
ensure consul config write has snake case conversions for MeshGateway (#6062)
5 years ago
Matt Keeler 8d953f5840 Implement Mesh Gateways
5 years ago
hashicorp-ci 43bda6fb76 Merge Consul OSS branch 'master' at commit e91f73f592
5 years ago
R.B. Boyer 38d76c624e
Allow for both snake_case and CamelCase for config entries written with 'consul config write'. (#6044)
5 years ago
Hans Hasselberg 53b25fbe38
agent: check for gossip encrypt key (#6037)
5 years ago
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
5 years ago
R.B. Boyer ceef44bbc9
adding new config entries for L7 discovery chain (unused) (#5987)
5 years ago
hashicorp-ci 4d185baf55 Merge Consul OSS branch 'master' at commit 88b15d84f9
6 years ago
Paul Banks 9f656a2dc8
Fix envoy 1.10 exec (#5964)
6 years ago
Matt Keeler f3d9b999ee
Add tagged addresses for services (#5965)
6 years ago
Hans Hasselberg 4d9116d759
connect: provide -admin-access-log-path for envoy (#5858)
6 years ago
Freddy c24c73bc59
Do not trigger update check when in dev mode
6 years ago
Paul Banks 0cfb6051ea Add integration test for central config; fix central config WIP (#5752)
6 years ago
R.B. Boyer c649243f7c
docs: add documentation for all secure acl introduction work (#5640)
6 years ago
Matt Keeler 3145bf5230 Centralized Config CLI (#5731)
6 years ago
Matt Keeler 4daa1585b0
ACL Token ID Initialization (#5307)
6 years ago
R.B. Boyer b4727fbe18
cli: actually allow the 'connect envoy' and 'watch' subcommands to work with -token-file (#5733)
6 years ago
Matt Keeler f67e12eb6f
Enabling "service" watch handler to accept a slice of tags
6 years ago
Paul Banks 421ecd32fc
Connect: allow configuring Envoy for L7 Observability (#5558)
6 years ago
R.B. Boyer e47d7eeddb acl: adding support for kubernetes auth provider login (#5600)
6 years ago
R.B. Boyer cc1aa3f973 acl: adding Roles to Tokens (#5514)
6 years ago
R.B. Boyer 7928305279 making ACLToken.ExpirationTime a *time.Time value instead of time.Time (#5663)
6 years ago
R.B. Boyer db43fc3a20 acl: ACL Tokens can now be assigned an optional set of service identities (#5390)
6 years ago
R.B. Boyer 2144bd7fbd acl: tokens can be created with an optional expiration time (#5353)
6 years ago
Matt Keeler 222afeae4c
Move the watch package into the api module (#5664)
6 years ago
Alvin Huang 8ceca2ace3
Add fmt and vet (#5671)
6 years ago
Matt Keeler afa1cc98d1
Implement data filtering of some endpoints (#5579)
6 years ago
Matt Keeler f88d1ccc36
Handle rules translation when coming from the JSON compat HCL (#5662)
6 years ago
Alvin Huang f45e495e38
Merge pull request #5376 from hashicorp/fix-tests
6 years ago
tristan-weil fe938e6e28 tls: allow to add ip addresses as Subject Alternative Names when creating certificates (#5602)
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
Alvin Huang 8cb8108b1b fix typos
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
R.B. Boyer c7067645dd fix a few leap-year related clock math inaccuracies and failing tests
6 years ago
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Alvin Huang 31af6be26a add serf check to TestLockCommand
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
R.B. Boyer adbe8ed370 correct some typos
6 years ago
R.B. Boyer de50bc3295
cli: fix typo in help text for 'consul acl role read' (#5311)
6 years ago
R.B. Boyer 5165874318
incorrect examples for 'consul acl policy' commands (#5303)
6 years ago
Matt Keeler 9715e1a08e
Basic TLS Command Tests (#5259)
6 years ago
Matt Keeler 1f2d1d4f75
Fix typo that prevented using the default ca domain for tls cert creation (#5258)
6 years ago
Hans Hasselberg 174099593a
agent: display messages from serf in cli (#5236)
6 years ago
Grégoire Seux 4f62a3b528 Implement /v1/agent/health/service/<service name> endpoint (#3551)
6 years ago
Boris Popovschi b4eca8fcd7 Fixed gziping function for debug archive (#5184)
6 years ago
Hans Hasselberg acc458d7a4
Builtin tls helper (#5078)
6 years ago
Jack Pearkes a90c29e60d Doc changes for 1.4 Final (#4870)
6 years ago
Paul Banks 37d88cad29
Allow ACL legacy migration via CLI (#4882)
6 years ago
R.B. Boyer 57dd160f40 command/debug: make better use of atomic operations to write out the debug snapshots to disk
6 years ago
R.B. Boyer 9211d2701d
fix comment typos (#4890)
6 years ago
Paul Banks 33ae0149ea
Doc and whitespace fixes for translate-rules command (#4877)
6 years ago
Martin Halder 988ceb697a website: fix minor typo in documentation (#4864)
6 years ago
Matt Keeler a02a6be6b9
Implement CLI token cloning & special ID handling (#4827)
6 years ago
Dhi Aurrahman 649082ab35 connect: Fix comment DYNAMIC_DNS to LOGICAL_DNS (#4799)
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Jack Pearkes 8c684db488 New command: consul debug (#4754)
6 years ago
Aestek 25f04fbd21 [Security] Add finer control over script checks (#4715)
6 years ago
Paul Banks c9217c958e merge feedback: fix typos; actually use deliverLatest added previously but not plumbed in
6 years ago
Paul Banks f9c0f00abb cli: envoy command default gRPC port (#4768)
6 years ago
R.B. Boyer c310451b2b cli: avoid passing envoy bootstrap configuration as arguments (#4747)
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 dca1303d05 Connect Envoy Command (#4735)
6 years ago
Paul Banks 8336b5e6b9 XDS Server Config (#4730)
6 years ago
Paul Banks e812f5516a Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
6 years ago
Paul Banks b83bbf248c Add Proxy Upstreams to Service Definition (#4639)
6 years ago
Paul Banks b06ddc9187 Rename proxy package (re-run of #4550) (#4638)
6 years ago
Mitchell Hashimoto 69cdab0d84
command/services: just add additional output feedback on success
6 years ago
Mitchell Hashimoto 657682def9
command/services: add test to ensure that dev mode introduces no
6 years ago
Mitchell Hashimoto e00c40b4f5
command: register new commands
6 years ago
Mitchell Hashimoto bf83309124
command/services/register: flag-based registration
6 years ago
Mitchell Hashimoto 939708138f
command/services/deregister: tests for flag validation
6 years ago
Mitchell Hashimoto 3425f123ef
command/services/deregister: -id flag for deletion
6 years ago
Mitchell Hashimoto 2f97a618dc
command/services/deregister: basics working from file
6 years ago
Mitchell Hashimoto 4b887d6dda
command/services: move the config helpers to parent package
6 years ago
Mitchell Hashimoto 1e7d038b37
command/services/register: registration from files work
6 years ago
Mitchell Hashimoto 0fbaa18ed3
command/services/register: config mapping tests
6 years ago
Mitchell Hashimoto b315e79cfe
command/services
6 years ago
Benjamin Sago 20645c8459 Exit with error code 1 when failing to list DCs (#4583)
6 years ago
Pierre Souchay 1a906ef34e Fix more unstable tests in agent and command
6 years ago
Pierre Souchay 22500f242e Fix unstable tests in agent, api, and command/watch
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Pierre Souchay 92acdaa94c Fixed flaky tests (#4626)
6 years ago
Siva Prasad ca35d04472
Adds a new command line flag -log-file for file based logging. (#4581)
6 years ago
Pierre Souchay 8e7b8bb524 Fixed unit test TestCatalogListServicesCommand (#4592)
6 years ago
Pierre Souchay af90c88f6a Fixed unstable test TestRTTCommand_LAN in command/rtt (#4585)
6 years ago
Pierre Souchay 3f9d1370b7 Fix unstable test TestRegisterMonitor_heartbeat (#4568)
6 years ago
Shubheksha fc3997f266 replace old fork of text package (#4501)
6 years ago
Freddy 6d43d24edb
Improve reliability of tests with TestAgent (#4525)
6 years ago
Freddy e305443db4
Address flakiness in command/exec tests (#4517)
6 years ago
Pierre Souchay cec5d72396 BUGFIX: Unit test relying on WaitForLeader() did not work due to wrong test (#4472)
6 years ago
Mitchell Hashimoto effb17098a
Merge pull request #4314 from hashicorp/b-ignore-check
6 years ago
Mitchell Hashimoto e39dfc919a
command/connect/proxy: ignore check doesn't exist on -register
7 years ago
Siva 5e04d7f1f1 Merge branch 'master' of github.com:hashicorp/consul into WinService
7 years ago
Paul Banks c6ef6a61c9 Refactor to use embedded struct.
7 years ago
Paul Banks 32f362bad9 StartupTelemetry => InitTelemetry
7 years ago
Paul Banks a7038454fd WIP
7 years ago
Paul Banks ecfda7cda5 Fix unreachable code warning from go vet
7 years ago
Paul Banks d1c67d90bc Fixs a few issues that stopped this working in real life but not caught by tests:
7 years ago
Mitchell Hashimoto caae034f3b command/connect/proxy: can specify prepared query upstream types
7 years ago
Paul Banks cdc7cfaa36 Abandon daemonize for simpler solution (preserving history):
7 years ago
Paul Banks ba0fb58a72 Make daemoinze an option on test binary without hacks. Misc fixes for racey or broken tests. Still failing on several though.
7 years ago
Paul Banks 2b377dc624 Run daemon processes as a detached child.
7 years ago
Siva 319a0ae2bf Graceful exits added
7 years ago
Kyle Havlovitz 61d7e38148
Clarify CA commands' help text
7 years ago
Kyle Havlovitz 6ca7543ea6
Add CA CLI commands for getting/setting config
7 years ago
Mitchell Hashimoto 7d24ecd700
command/connect/proxy: register monitor tests
7 years ago
Mitchell Hashimoto eb2a6952ba
address comment feedback
7 years ago
Mitchell Hashimoto db10240bea
command/connect/proxy: register monitor and -register flag
7 years ago
Mitchell Hashimoto 1db42050bd
command/connect/proxy: output information when starting similar to agent
7 years ago
Mitchell Hashimoto 55c6d34ea0
command/connect/proxy: detailed help
7 years ago
Mitchell Hashimoto b1d709fc9f
command/connect/proxy: -service-addr required for -listen
7 years ago
Mitchell Hashimoto 83f2509c6f
command/connect/proxy: can set public listener from flags
7 years ago
Mitchell Hashimoto c93ba83310
command/connect/proxy: tests for configuration
7 years ago
Mitchell Hashimoto 42ee214c8a
command/connect/proxy: accept -service and -upstream
7 years ago
Mitchell Hashimoto 8c713e6104
connect/proxy: don't require proxy ID
7 years ago
Mitchell Hashimoto a69e3087b2
command/intention: address comment feedback
7 years ago
Mitchell Hashimoto be82b94f81
command/intention/create: -replace does an atomic change
7 years ago
Mitchell Hashimoto 6a82e78cb4
command/intention/match
7 years ago
Mitchell Hashimoto 8ffca97596
command/intention/delete: tests
7 years ago
Mitchell Hashimoto 88639b802c
command/intention/check: check tests
7 years ago
Mitchell Hashimoto 971b3c06a1
command/intention/get: tests
7 years ago
Mitchell Hashimoto 66deffafbb
command/intention/match
7 years ago
Mitchell Hashimoto a083870872
command/intentions/check
7 years ago
Mitchell Hashimoto dba937847f
command/intention/create: -replace flag, jank, we should change to PUT
7 years ago
Mitchell Hashimoto 888dc78180
command/intentions/delete
7 years ago
Mitchell Hashimoto 272211e171
command/intention/get: the get command without tests
7 years ago
Mitchell Hashimoto 988d7d984a
command/intention/finder: package for finding based on src/dst
7 years ago
Mitchell Hashimoto 961e9c1eaf
command/intention/create
7 years ago
Mitchell Hashimoto 5d969e3cbb
command/connect/proxy: set ACL token based on proxy token flag
7 years ago
Mitchell Hashimoto 867db89303
command/connect/proxy: set proxy ID from env var if set
7 years ago
Paul Banks 1b197d934a
Don't allow connect watches in agent/cli yet
7 years ago
Paul Banks e8c510332c
Support legacy watch.HandlerFunc type for backward compat reduces impact of change
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
Paul Banks 10db79c8ae
Rework connect/proxy and command/connect/proxy. End to end demo working again
7 years ago
Paul Banks 69d5efdbbd
Original proxy and connect.Client implementation. Working end to end.
7 years ago
Paul Banks 5f3d20c5cf
Merge pull request #4194 from hashicorp/fix-kv-del-validation
7 years ago
Matt Keeler 88a8c5e968
Merge pull request #4156 from hashicorp/enterprise-coexistence
7 years ago
Paul Banks 378c37fadd
Fix KV del command validation error
7 years ago
Kyle Havlovitz 03652a8519
command/agent: don't re-parse the flags on reload
7 years ago
Matt Keeler 2e7a37890c Move data source loading into a command helpers function
7 years ago
Paul Banks 4de68fcb4b
Merge pull request #4016 from pierresouchay/support_for_prometheus
7 years ago
Matt Keeler 63250c5d43
Merge pull request #4024 from jen20/signal-notify-once
7 years ago
Kyle Havlovitz af4be34a2a
Update make static-assets goal and run format
7 years ago
James Nugent 96f871862e Only call signal.Notify once during agent startup
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
Matt Keeler 48bd84073a Address PR feedback
7 years ago
Matt Keeler 9f64d4856a Update unit-tests to use requirements instead of manual checks.
7 years ago
Matt Keeler 92ceaaad81 Update case of member in comment
7 years ago
Matt Keeler 4e6f0f9a79 Formatting update
7 years ago
Matt Keeler ada1252480 GH-3996: Add config-format flag to validate subcommand
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Paul Banks de58eb1820
Fixes #3891: agent monitor no longer unresponsive before logs stream.
7 years ago
Kyle Havlovitz d16f103b48
Pull http config flag merge into public method
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
Chad Whitacre 9ff59df34b Fix typo
7 years ago
Kyle Havlovitz a86d11ec0a
Merge pull request #3737 from hashicorp/autopilot-refactor
7 years ago
James Phillips c676e6b8c8
Adds -base64 support to kv get command.
7 years ago
Kyle Havlovitz de28555671
Move autopilot to a standalone package
7 years ago
James Phillips 521e46ce91
Adds a registry mechanism for CLI commands.
7 years ago
Kyle Havlovitz 921d2e1469
Fix a panic in snapshot inspect command
7 years ago
Frank Schroeder 8f145559d8
Decouple the code that executes checks from the agent
7 years ago
Frank Schroeder 9872475167
agent: fix TestRetryJoin
7 years ago
Frank Schroeder 7d3467176b
agent: fix TestRetryJoinFail
7 years ago
Frank Schroeder 96a584dee2
agent: fix TestRetryJoinWanFail
7 years ago
Frank Schroeder b97ab367f4
config: return error on extra command line arguments (#3397)
7 years ago
James Phillips ecee15b466
Updates documentation for consul validate.
7 years ago
Frank Schroeder 9dec64dd17
commands: add shorter helper vars to keep fmt sane
7 years ago
Frank Schroeder 983e4aa0eb
commands: cleanup init
7 years ago
Frank Schroeder b3292d13fb commands: get HTTP API flags for usage automatically
7 years ago
Frank Schroeder 0cadee99ff commands: drop http server flags from reload command
7 years ago
Frank Schroeder cb96d1f126 commands: drop http server flags from leave command
7 years ago
Frank Schroeder cb95cf2a34 commands: drop http server flags from keyring command
7 years ago
Frank Schroeder 1715cbd5de commands: drop http server flags from force-leave command
7 years ago
Frank Schroeder 1b026de1db commands: run all tests in parallel (again)
7 years ago
Frank Schroeder 56b24d3d4f commands: cleanup help and synopsis.
7 years ago
Frank Schroeder d54a5ef8d8 commands: do not run cmd tests in parallel
7 years ago
Frank Schroeder e5d08cf47d commands: add missing noTabs test
7 years ago
Frank Schroeder 84a82cff3d commands: cleanup test names
7 years ago
Frank Schroeder 5979723446 commands: cleanup catalog list services tests
7 years ago
Frank Schroeder a03738c117 commands: cleanup catalog list nodes tests
7 years ago
Frank Schroeder 2530b9dd83 commands: simplify import names
7 years ago
Frank Schroeder 2bd8b070fb commands: move operator subcommands to subdirs
7 years ago
Frank Schroeder ce1ec000ca commands: move kv subcommands to subdirs
7 years ago
Frank Schroeder e16ef316d4 commands: move catalog subcommands to subdirs
7 years ago
Frank Schroeder 51799e5d23 commands: move snapshot subcommands to subdirs
7 years ago
Frank Schroeder 6bc5716336 commands: simplify commands.go
7 years ago
Frank Schroeder 2850f0f6d0 commands: drop base command and utils
7 years ago
Frank Schroeder 31d5fb7f47 commands: move agent command to separate pkg
7 years ago
Frank Schroeder 10e0be65a9 commands: move watch command to separate pkg
7 years ago
Frank Schroeder 8a0195ee99 add token and addr to http flags
7 years ago
Frank Schroeder e2b686b982 commands: move snapshot save command to separate pkg
7 years ago
Frank Schroeder fb1f09d447 commands: move snapshot restore command to separate pkg
7 years ago
Frank Schroeder 3acbc278f0 commands: move version command to separate pkg
7 years ago
Frank Schroeder 3a02ce9ebc commands: move snapshot inspect command to separate pkg
7 years ago
Frank Schroeder c8992cbe28 commands: move snapshot command to separate pkg
7 years ago
Frank Schroeder 4d6a0b94dd commands: move rtt command to separate pkg
7 years ago