Commit Graph

4934 Commits (80e700542f16de495b510db1dc899d9341c5d070)

Author SHA1 Message Date
hc-github-team-consul-core fc4d18dead
feat: set up reporting agent (#16991) (#17031)
Co-authored-by: Poonam Jadhav <poonam.jadhav@hashicorp.com>
2023-04-21 11:16:53 -04:00
John Murret ee82e1d01e
ci: remove test-integrations CircleCI workflow (#16928) (#17049)
* remove all CircleCI files

* remove references to CircleCI

* remove more references to CircleCI

* pin golangci-lint to v1.51.1 instead of v1.51
2023-04-19 11:28:59 -06:00
hc-github-team-consul-core ac96ab8ba1
backport of commit 12d5cc0c37 (#17029)
Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2023-04-18 17:59:59 +00:00
Poonam Jadhav fc1ba0f203
feat: add reporting config with reload (#16977) 2023-04-13 11:42:08 -04:00
hc-github-team-consul-core 722a8e4b6e
Backport of APIGW: Routes with duplicate parents should be invalid into release/1.15.x (#16962)
* backport of commit 7a3d2d8669

* backport of commit ec3bcfe2bf

* backport of commit ec34e3f5e8

---------

Co-authored-by: jm96441n <john.maguire@hashicorp.com>
2023-04-11 16:28:25 +00:00
hc-github-team-consul-core 1469efe819
Backport of Allow dialer to re-establish terminated peering into release/1.15.x (#16859)
* backport of commit ea94152497

* backport of commit da7507f119

---------

Co-authored-by: freddygv <freddy@hashicorp.com>
2023-04-03 18:28:40 +00:00
Derek Menteer 5560dcdbae
Revert "cache: refactor agent cache fetching to prevent unnecessary f… (#16818)
Revert "cache: refactor agent cache fetching to prevent unnecessary fetches on error (#14956)"
2023-03-30 11:16:33 -05:00
hc-github-team-consul-core 7d44a4c2f1
Backport of Update normalization of route refs into release/1.15.x (#16799)
* backport of commit 7f5e9ba4cd

* backport of commit 67b85371e0

* backport of commit b47040d1ed

* backport of commit 079ed984c0

* Fix infinite call loop

* Explicitly call enterprise meta

---------

Co-authored-by: jm96441n <john.maguire@hashicorp.com>
2023-03-28 16:58:25 +00:00
hc-github-team-consul-core 1553036635
Backport of Fix struct tags for TCPService enterprise meta into release/1.15.x (#16787)
* backport of commit de17e5a23d

* backport of commit 85480c053d

---------

Co-authored-by: jm96441n <john.maguire@hashicorp.com>
2023-03-27 18:54:00 +00:00
Derek Menteer dfb7f7138d
Change partition for peers in discovery chain targets (#16770)
This commit swaps the partition field to the local partition for
discovery chains targeting peers. Prior to this change, peer upstreams
would always use a value of default regardless of which partition they
exist in. This caused several issues in xds / proxycfg because of id
mismatches.

Some prior fixes were made to deal with one-off id mismatches that this
PR also cleans up, since they are no longer needed.
2023-03-24 15:40:46 -05:00
hc-github-team-consul-core 9d636aa816
Backport of Refactor xDS tests into release/1.15.x (#16741)
* backport of commit ed4a98f300

* add merge function

---------

Co-authored-by: Eric <eric@haberkorn.co>
2023-03-22 20:51:58 +00:00
hc-github-team-consul-core 83d26bc21f
backport of commit 746a0a1d73 (#16735)
Co-authored-by: Eric <eric@haberkorn.co>
2023-03-22 13:50:49 +00:00
hc-github-team-consul-core 1007444ac1
Backport of Fix route subscription when using namespaces into release/1.15.x (#16680)
* backport of commit 312492bdf7

* backport of commit 099340902c

* backport of commit 2fcae963d9

---------

Co-authored-by: jm96441n <john.maguire@hashicorp.com>
2023-03-20 19:09:54 +00:00
hc-github-team-consul-core 7f7d282a34
Backport of Add validation for apigw creation with no routes into release/1.15.x (#16679) 2023-03-20 14:14:05 -04:00
Nitya Dhanushkodi 459b42dc5c
[release/1.15.x] peering: peering partition failover fixes (#16675)
add local source partition for peered upstreams
2023-03-20 10:01:04 -07:00
John Maguire 70b8c6b4df
Backport/squashing fix for enterprise meta (#16651)
* Backport squash structures for config entries

* Add changelog

* Rename changelog file for current PR

* change changelog file name

* Add enterprise only tag to changelog

* Fix changelog
2023-03-20 16:57:13 +00:00
hc-github-team-consul-core eb63d46abb
Backport of [API Gateway] Fix invalid cluster causing gateway programming delay into release/1.15.x (#16668)
* backport of commit 9ea73b3b8d

* backport of commit d3cffdeb4d

* backport of commit 0848aac017

* backport of commit 90b5e39d2d

* Refactor and fix flaky tests

* Fix bad merge

* add file that was never backported

* Fix bad merge again

* fix duplicate method

* remove extra import

* backport a slew of testing library code

* backport changes coinciding with library update

* backport changes coinciding with library update

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-03-17 15:02:28 -04:00
hc-github-team-consul-core 89ce3ba123
backport of commit 78bb205fc3 (#16635)
Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2023-03-15 13:08:14 +00:00
hc-github-team-consul-core 04d882f983
Backport of Preserve CARoots when updating Vault CA configuration into release/1.15.x (#16626)
* backport of commit 537734d2ec

* backport of commit 523d313671

* backport of commit 8a113841d4

* backport of commit 368f8a51e9

---------

Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
2023-03-13 21:54:40 +00:00
Freddy 02f8ed4ca2
Backport of Allow HCP metrics collection for Envoy proxies into release/1.15.x (#16611)
Co-authored-by: Ashvitha Sridharan <ashvitha.sridharan@hashicorp.com>
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
Co-authored-by: Ashvitha <ashvitha297@gmail.com>
2023-03-10 21:50:30 +00:00
hc-github-team-consul-core fb95d89e4d
backport of commit e5172b9b35 (#16573)
Co-authored-by: Eric <eric@haberkorn.co>
2023-03-08 17:01:11 +00:00
hc-github-team-consul-core 88496d7f8a
NET-2904 Fixes API Gateway Route Service Weight Division Error (#16540)
Co-authored-by: Melisa Griffin <missylbytes@users.noreply.github.com>
2023-03-06 10:11:27 -05:00
hc-github-team-consul-core 2f8de3c3d1
Backport of NET-2903 Normalize weight for http routes into release/1.15.x (#16532)
* backport of commit 10ef73a5a6

* backport of commit 99f5b726d2

* NET-2903 Normalize weight for http routes (#16512)

* NET-2903 Normalize weight for http routes

* Update website/content/docs/connect/gateways/api-gateway/configuration/http-route.mdx

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>

---------

Co-authored-by: Melisa Griffin <melisa.griffin@hashicorp.com>
Co-authored-by: Melisa Griffin <missylbytes@users.noreply.github.com>
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-03-03 17:08:57 -05:00
hc-github-team-consul-core 388fef8484
Backport of proxycfg: ensure that an irrecoverable error in proxycfg closes the xds session and triggers a replacement proxycfg watcher into release/1.15.x (#16529)
* backport of commit 88e56eac02

* backport of commit 4fc870086d

* backport of commit 0d57b2a70c

* backport of commit c627e5ac39

* backport of commit 48f93514de

* backport of commit 3b9fbcd800

* backport of commit a323375c30

* backport of commit 70b54d501f

---------

Co-authored-by: R.B. Boyer <rb@hashicorp.com>
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2023-03-03 21:00:25 +00:00
hc-github-team-consul-core 0f139f2439
Backport of Fix resolution of service resolvers with subsets for external upstreams into release/1.15.x (#16525)
* backport of commit 892d389d9b

* backport of commit 8a2468d6b5

* backport of commit f56894fdc1

* backport of commit ced73fc2ce

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-03-03 19:44:50 +00:00
hc-github-team-consul-core 9c409797e6
Backport of Fix issue where terminating gateway service resolvers weren't properly cleaned up into release/1.15.x (#16521)
* backport of commit e14b4301fa

* backport of commit 525501337d

* backport of commit b1b2abc14a

* backport of commit ecaeff26aa

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-03-03 16:45:47 +00:00
hc-github-team-consul-core f51d12c952
Backport of Add ServiceResolver RequestTimeout for route timeouts to make TerminatingGateway upstream timeouts configurable into release/1.15.x (#16520)
* backport of commit 29768f27aa

* backport of commit 1f26c2a6b4

* Add RequestTimeout field

* Add changelog entry

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-03-03 11:13:25 -05:00
hc-github-team-consul-core c3fb1654aa
backport of commit 20cd7f1f48 (#16510)
Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
2023-03-02 21:17:22 +00:00
hc-github-team-consul-core 5755a75d8d
Backport of Fix various flaky tests into release/1.15.x (#16406)
* backport of commit 169a4aedee

* backport of commit d7429dda9b

* backport of commit 7ee6f72dce

---------

Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
2023-02-23 20:45:34 +00:00
hc-github-team-consul-core 983a1b8ddb
backport of commit 1180908144 (#16389)
Co-authored-by: Paul Banks <pbanks@hashicorp.com>
2023-02-23 16:15:21 +00:00
hc-github-team-consul-core 7cd0eff857
fix failed cherry pick (#16303)
Co-authored-by: Maliz <maliheh.monshizadeh@hashicorp.com>
2023-02-22 13:25:30 -08:00
hc-github-team-consul-core 61aeb81919
backport of commit 181bee38c0 (#16378)
Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-02-22 20:24:20 +00:00
cskh bda302b2fa
Revert "feat: envoy extension - http local rate limit (#16196)" (#16373)
This reverts commit e91bc9c058.
2023-02-22 14:59:53 -05:00
hc-github-team-consul-core fca4b563d4
Backport of [API Gateway] Various fixes for Config Entry fields into release/1.15.x (#16354)
* [API Gateway] Various fixes for Config Entry fields

* simplify logic per PR review

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-02-21 23:36:25 -05:00
hc-github-team-consul-core 3d232666ae
Backport of [API Gateway] Fix targeting service splitters in HTTPRoutes into release/1.15.x (#16353)
* backport of commit 06fc59c26f

* backport of commit cd4e6e9677

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-02-22 04:34:39 +00:00
hc-github-team-consul-core 9f29e0c4fc
backport of commit 326d5c02c6 (#16352)
Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-02-22 03:33:18 +00:00
hc-github-team-consul-core 2604a03799
backport of commit 817d85df12 (#16344)
Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2023-02-21 20:36:42 +00:00
hc-github-team-consul-core 1241135e68
Backport of [API Gateway] Validate listener name is not empty into release/1.15.x (#16341)
* backport of commit cabcb052fd

* backport of commit 89baddca25

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-02-21 19:34:04 +00:00
hc-github-team-consul-core 84bc971334
Backport of fix: add tls config to unix socket when https is used into release/1.15.x (#16336)
* backport of commit 49f7423ab8

* backport of commit d5408c8d01

---------

Co-authored-by: cskh <hui.kang@hashicorp.com>
2023-02-21 13:43:27 +00:00
hc-github-team-consul-core 065ab57133
backport of commit acf20db763 (#16320)
Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-02-17 23:23:16 +00:00
hc-github-team-consul-core 5437e5b789
backport of commit d3daf89ba8 (#16324)
Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-02-17 22:53:13 +00:00
Andrew Stucki 9ce2cff600
Backport of Add stricter validation and some normalization code for API Gateway ConfigEntries into release/1.15.x (#16317)
* Add stricter validation and some normalization code for API Gateway ConfigEntries

* Switch to certs with valid hostnames in them
2023-02-17 21:03:30 +00:00
hc-github-team-consul-core 0e89df2b7a
Backport of [OSS] security: update go to 1.20.1 into release/1.15.x (#16314)
* backport of commit 2a8cdf1747

* backport of commit 716d162048

* backport of commit 2c757fac4f

* backport of commit f81c5d4933

* backport of commit ff4f0596f3

* backport of commit 31bbca9fe4

* backport of commit 2f54191353

* backport of commit c263147180

---------

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2023-02-17 21:00:25 +00:00
Andrew Stucki e4e7c69f44
Fix hostname alignment checks for HTTPRoutes (#16315) 2023-02-17 20:47:38 +00:00
hc-github-team-consul-core 4920cb4a77
Backport of Inline API Gateway TLS cert code into release/1.15.x (#16306)
* Inline API Gateway TLS cert code (#16295)

* Include secret type when building resources from config snapshot

* First pass at generating envoy secrets from api-gateway snapshot

* Update comments for xDS update order

* Add secret type + corresponding golden files to existing tests

* Initialize test helpers for testing api-gateway resource generation

* Generate golden files for new api-gateway xDS resource test

* Support ADS for TLS certificates on api-gateway

* Configure TLS on api-gateway listeners

* Inline TLS cert code

* update tests

* Add SNI support so we can have multiple certificates

* Remove commented out section from helper

* regen deep-copy

* Add tcp tls test

---------

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>

* Fix bad merge

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2023-02-17 14:46:49 -05:00
hc-github-team-consul-core 3cba165d78
Backport of Fix panicky xDS test flakes into release/1.15.x (#16310)
* backport of commit 01ca6e268b

* backport of commit 485cb4d88d

---------

Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
2023-02-17 19:24:01 +00:00
Nitya Dhanushkodi 94f4347ffe
Backport: troubleshoot: fixes and updated messages (#16294) (#16309) 2023-02-17 10:53:20 -08:00
hc-github-team-consul-core 6cd08b96c3
Backport of Fix mesh gateways incorrectly matching peer locality. into release/1.15.x (#16287)
* backport of commit 9bc7f6280a

* backport of commit 0c48c9a1e8

---------

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2023-02-16 15:51:57 +00:00
hc-github-team-consul-core 0a32425202
Backport of Fix infinite recursion in inline-certificate config entry into release/1.15.x (#16281)
* backport of commit ea4dd2bb4c

* backport of commit 637d13a0a9

* backport of commit 18f19cecd1

* backport of commit 3e6807bdbc

---------

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2023-02-15 20:03:29 +00:00
hc-github-team-consul-core 9aa85df0cc
backport of commit e5adc43315 (#16279)
Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2023-02-15 18:17:15 +00:00