Commit Graph

631 Commits (188e8dc51ffed2a8cf462c92466052d5f11c7d2f)

Author SHA1 Message Date
Daniel Nephin 5afcf5c1bc
Merge pull request #8034 from hashicorp/dnephin/add-linter-staticcheck-4
5 years ago
Daniel Nephin 068b43df90 Enable gofmt simplify
5 years ago
Daniel Nephin cb050b280c ci: enable SA4006 staticcheck check
5 years ago
Matt Keeler d3881dd754
ACL Node Identities (#7970)
5 years ago
Chris Piraino 91ab89dd48
Move ingress param to a new endpoint (#8081)
5 years ago
Chris Piraino 496e683360
Merge pull request #8064 from hashicorp/ingress/health-query-param
5 years ago
Chris Piraino 5e0cd7ede5 Remove unnecessary defer from api.health_test.go
5 years ago
Daniel Nephin 08f1ed16b4
Merge pull request #7900 from hashicorp/dnephin/add-linter-staticcheck-2
5 years ago
Chris Piraino 4837069fe0 api: update api module with health.Ingress() method
5 years ago
Daniel Nephin caa692deea ci: Enabled SA2002 staticcheck check
5 years ago
Daniel Nephin ce6cc094a1 intentions: fix a bug in Intention.SetHash
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 8ced4300c8 Add alias struct tags for new decode hook
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
Kyle Havlovitz 136549205c
Merge pull request #7759 from hashicorp/ingress/tls-hosts
5 years ago
Chris Piraino 5105bf3d67
Require individual services in ingress entry to match protocols (#7774)
5 years ago
Chris Piraino 0c22eacca8 Add TLS field to ingress API structs
5 years ago
Chris Piraino d8517bd6fd Better document wildcard specifier interactions
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 a854e4d9c5
acl: oss plumbing to support auth method namespace rules in enterprise (#7794)
5 years ago
R.B. Boyer 22eb016153
acl: add MaxTokenTTL field to auth methods (#7779)
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
Chris Piraino 115d2d5db5
Expect default enterprise metadata in gateway tests (#7664)
5 years ago
Matt Keeler d24b65b8f0
Update API module to include the licensed modules in its output (#7661)
5 years ago
Kyle Havlovitz e9e8c0e730
Ingress Gateways for TCP services (#7509)
5 years ago
Chris Piraino 3d2de925d8
Add support for ingress-gateway in CLI command (#7618)
5 years ago
Daniel Nephin 6b860c926f
Merge pull request #7608 from hashicorp/dnephin/grpc-default-scheme
5 years ago
Freddy 9eb1867fbb
Terminating gateway discovery (#7571)
5 years ago
Daniel Nephin 0888c6575b Step 3: fix a bug in api.NewClient and fix the tests
5 years ago
Pierre Souchay 4d35816bee
tests: fixed unstable test TestAPI_AgentMonitor (#7561)
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
Pierre Souchay f1f778ffcc
FIX flaky test: TestAPI_AgentMonitorJSON
5 years ago
Freddy 18d356899c
Enable CLI to register terminating gateways (#7500)
5 years ago
Alejandro Baez bafa69bb69
Add PolicyReadByName for API (#6615)
5 years ago
Daniel Nephin 3f8578f1e1 ci: Use golangci-lint for linting
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Matt Keeler 80ed304e04
Run make update-vendor and fixup various go.sum files
5 years ago
Matt Keeler 77074be9b8
Bump sdk module version to 0.4.0
5 years ago
Akshay Ganeshen 8beb716414
feat: support sending body in HTTP checks (#6602)
5 years ago
Matt Keeler d0cd092e3b
Catalog + Namespace OSS changes. (#7219)
5 years ago
Fouad Zaryouh ef6399928d
api: add replace-existing-checks param to the api package (#7136)
5 years ago
Matt Keeler 6855a778c2
Updates to the Txn API for namespaces (#7172)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Michel Vocks 6681be918a api: add option to set TLS options in-memory for API client (#7093)
5 years ago
Matt Keeler b57c2b78fd
Unflake the TestAPI_AgentConnectCALeaf test (#7142)
5 years ago
Matt Keeler c09693e545
Updates to Config Entries and Connect for Namespaces (#7116)
5 years ago
Matt Keeler bbc2eb1951
Add the v1/catalog/node-services/:node endpoint (#7115)
5 years ago
R.B. Boyer 4af5c2d6dd
fix the submodule go.mod and go.sum files (#7098)
5 years ago
Paul Banks 1807af552e
Fix TestAPI_DiscoveryChain_Get flake (#7082)
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
neillyt a2ab9b4aee Fix Namespace Typo (#7030)
5 years ago
Matt Keeler 34e6e23d43
Change how namespaces are specified for the CLI (#6960)
5 years ago
Freddy 37dfe6d112
Add kv meta to namespaces api module (#6958)
5 years ago
R.B. Boyer 7ac47d6f61
build: fix makefile and CI 'fmt' and 'vet' tasks (#6937)
5 years ago
ogidow dfa8d919f7 agent: fix watch event behavior (#5265)
5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909)
5 years ago
Matt Keeler 2343413bf0
Fix the TestAPI_CatalogRegistration test
5 years ago
Matt Keeler a704ebe639
Add Namespace support to the API module and the CLI commands (#6874)
5 years ago
Mike Morris 7484b42b93
test: wait for Serf check in TestServicesWatch (#6867)
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
Paul Banks cd1b613352
connect: Add AWS PCA provider (#6795)
5 years ago
Matt Keeler f6af75ae74
Refactor the Read Namespace requests to not use the query funct… (#6720)
5 years ago
Blake Covarrubias 0aa025df1c
docs: Miscellaneous docs cleanup (#6742)
5 years ago
Sarah Adams 78ad8203a4
Use encoding/json as JSON decoder instead of mapstructure (#6680)
5 years ago
Sarah Christoff 5e1c6e907b
Set MinQuorum variable in Autopilot (#6654)
5 years ago
Freddy 60f6ec0c2f
Store check type in catalog (#6561)
5 years ago
Matt Keeler 4a5ebb57b0
Add support for the Namespace HTTP API in the API Client (#6581)
5 years ago
Sarah Christoff 5e26971864
Prune Unhealthy Agents (#6571)
5 years ago
Freddy 2274f64cab
Add Namespace as an api query/write option (#6551)
5 years ago
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
5 years ago
R.B. Boyer 92fd596d32
api/watch: try to avoid more flakes in this package (#6538)
5 years ago
R.B. Boyer af01d397a5
connect: don't colon-hex-encode the AuthorityKeyId and SubjectKeyId fields in connect certs (#6492)
5 years ago
R.B. Boyer f74244dde8 api/watch: reduce timing dependence on tests of watch behavior
5 years ago
R.B. Boyer ea6231ce35 api: bump to sdk v0.2.0
5 years ago
R.B. Boyer fd1c62ee8b
connect: ensure time.Duration fields retain their human readable forms in the API (#6348)
5 years ago
R.B. Boyer 561b2fe606
connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340)
5 years ago
R.B. Boyer ae79cdab1b
connect: introduce ExternalSNI field on service-defaults (#6324)
5 years ago
hashicorp-ci 5919c7c184 Merge Consul OSS branch 'master' at commit 8f7586b339
5 years ago
Matt Keeler 69c7d64701
Add missing LicenseReset API function (#6311)
5 years ago
Sarah Adams 8ff1f481fe
add flag to allow /operator/keyring requests to only hit local servers (#6279)
5 years ago
Matt Keeler 6a1e0dfed8
Update the v1/agent/service/:service endpoint to output tagged… (#6304)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
R.B. Boyer 9753c77a79
api: un-deprecate api.DecodeConfigEntry (#6278)
5 years ago
R.B. Boyer c395affc93
connect: expose an API endpoint to compile the discovery chain (#6248)
5 years ago
Matt Keeler 5ce6bfa292
Add license management functions to API client (#6268)
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 6f1953d96d Merge branch 'master' into release/1-6
5 years ago
Freddy 59dbd070d7
More flaky test fixes (#6151)
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
Freddy 97ecc0517c
Fix some retries in api pkg (#6124)
5 years ago
Freddy 5873c56a03
Flaky test overhaul (#6100)
5 years ago
Freddy 0b9111714b
Update TestServer creation in sdk/testutil (#6084)
5 years ago
Matt Keeler bdebe62fd0
Fix some tests that I broke when refactoring the ConfigSnapshot (#6051)
5 years ago
Matt Keeler 8d953f5840 Implement Mesh Gateways
5 years ago
R.B. Boyer 2ad516aeaf
do some initial config entry graph validation during writes (#6047)
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
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
Matt Keeler 6cc1451895
Update some tests to fix ContentHash broken by the tagged service addresses (#5996)
6 years ago
Aestek b839f52195 kv: do not trigger watches when setting the same value (#5885)
6 years ago
Matt Keeler f3d9b999ee
Add tagged addresses for services (#5965)
6 years ago
Pavel Drankov b3a0b273ed api: update link to agent caching in comments (#5935)
6 years ago
R.B. Boyer b2478036d8 api: go mod tidy
6 years ago
R.B. Boyer cc9bcccc73 api: bump sdk version to v0.1.1
6 years ago
Paul Banks 0cfb6051ea Add integration test for central config; fix central config WIP (#5752)
6 years ago
Matt Keeler 3145bf5230 Centralized Config CLI (#5731)
6 years ago
Matt Keeler 4daa1585b0
ACL Token ID Initialization (#5307)
6 years ago
Kyle Havlovitz aba54cec55 Add HTTP endpoints for config entry management (#5718)
6 years ago
Matt Keeler f67e12eb6f
Enabling "service" watch handler to accept a slice of tags
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
Matt Keeler afa1cc98d1
Implement data filtering of some endpoints (#5579)
6 years ago
Alvin Huang f45e495e38
Merge pull request #5376 from hashicorp/fix-tests
6 years ago
Hans Hasselberg ac45b17482
fix remaining CI failures after Go 1.12.1 Upgrade (#5576)
6 years ago
Jeff Mitchell f1fe406aa8
Update SDK version (#5572)
6 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568)
6 years ago
Jeff Mitchell 6327d3fd6f
Update internal dep (#5564)
6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517)
6 years ago
R.B. Boyer f8bcfcfa46
api: fix panic in 'consul acl set-agent-token' (#5533)
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Alvin Huang e999e404da add serf check to TestAPI_ACLToken_List
6 years ago
Alvin Huang aed9d123fa add serf check to various api/agent tests
6 years ago
Alvin Huang 8124f5889c add serf check to TestAPI_CatalogNodes
6 years ago
Alvin Huang 9780892ebe add serf check to TestAPI_ConnectCARoots_empty, TestAPI_ConnectCAConfig_get_set
6 years ago
Alvin Huang 7b4fb32545 add serf check to TestAPI_CoordinateUpdate
6 years ago
Alvin Huang a2eb3c204d add serf check to TestAPI_HealthChecks_NodeMetaFilter, TestAPI_HealthConnect
6 years ago
Alvin Huang 7252679232 add serf check to TestAPI_ClientPutGetDelete, TestAPI_ClientWatchGet
6 years ago
Alvin Huang d93c82e966 add serf check to TestAPI_SemaphoreConflict
6 years ago
Alvin Huang f98512f1a3 add serf check to TestAPI_Snapshot
6 years ago
Alvin Huang a5bd6d7c00 add serf check to TestAPI_AgentServices_ManagedConnectProxyDeprecatedUpstreams
6 years ago
Alvin Huang 5f2e709c3f remove serf check
6 years ago
Alvin Huang fe7b841e4a add serf check to TestAPI_SemaphoreConflict
6 years ago
Matt Keeler acfd87c673
Improve Connect with Prepared Queries (#5291)
6 years ago