Commit Graph

342 Commits (ent-changelog-1.15.16)

Author SHA1 Message Date
John Murret 58e480762b
Update 1.15.x after re-publishing modules (#21660)
* envoyextensions/v0.2.3

* envoyextensions/v0.2.4

* restore replace statements in api after api module was published.

* troubleshoot/v0.2.2

* restore replace statements in api after troubleshoot module was published.

* updating rootgo.mod
2024-08-26 11:15:51 -06:00
John Murret 311cdc8636
Updating go.mods in release/1.15.x after modules have been released. (#21646)
* api/v1.21.2

* envoyextensions/v0.2.2

* troubleshoot/v0.2.1

* updating go.mod in root.
2024-08-23 11:46:10 -06:00
hc-github-team-consul-core c4a82b8497
Backport of security: fine-tune release scanner and bump coredns into release/1.15.x (#21039)
* security: fine-tune release scanner and bump coredns

---------

Co-authored-by: dduzgun-security <deniz.duzgun@hashicorp.com>
2024-05-04 00:05:53 +00:00
hc-github-team-consul-core f70ca15cfc
Backport of test: force IPv4 on Docker 26+ to fix Envoy int tests into release/1.15.x (#20987)
backport of commit a27d118408

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-04-17 16:14:06 -04:00
Deniz Onur Duzgun f055b05ca2
Backport of security: bump go, x/net and envoy versions into release/1.15.x (#20962)
Backport of security: bump go, x/net and envoy versions into release/1.15.x

* Bump go version

* Bump x/net

* Bump envoy version

* Add changelog

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-04-08 21:34:21 +00:00
hc-github-team-consul-core d0afffa83d
Backport of [NET-8367] security: upgrade google.golang.org/protobuf to 1.33.0 into release/1.15.x (#20803)
* backport of commit a407616755

* backport of commit 455f67fa57

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-03-07 00:00:44 +00:00
hc-github-team-consul-core f05c337770
Backport of Use mirrored image for CICD tests. into release/1.15.x (#20381)
Use mirrored image for CICD tests.

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-01-29 10:39:46 -06:00
hc-github-team-consul-core e8479b8d25
Backport of Fix CICD docker image rate limits. into release/1.15.x (#20363)
Fix CICD docker image rate limits.

The docker image used in CICD was referencing `registry.k8s.io/pause:3.3`,
which appears to no longer function correctly. This commit swaps over to a
Hashicorp mirrored image that shouldn't have rate limits or disappearing
images.

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-01-26 20:57:16 +00:00
John Murret d88efe9128
Revert Envoy deprecation remediation changes (#20102)
* Revert "Backport into 1.15 of NET-6944 - Replace usage of deprecated Envoy field envoy.extensions.filters.http.lua.v3.Lua.inline_code (#20052)"

This reverts commit d99c27b355.

* Revert "Backport of NET-4774 - replace usage of deprecated Envoy field match_subject_alt_names into release/1.15.x (#20055)"

This reverts commit dbc87ca992.

* Revert "Backport of NET-6942 - Replace usage of deprecated Envoy field envoy.config.cluster.v3.Cluster.http_protocol_options. into release/1.15.x (#20031)"

This reverts commit 3b70b66ecf.

* Revert "Backport of NET-6317 - update usage of deprecated fields: http2_protocol_options and access_log_path into release/1.15.x (#19951)"

This reverts commit 1268d067c8.
2024-01-05 12:02:23 -07:00
hc-github-team-es-release-engineering e13a4c2e09
[DO NOT MERGE UNTIL EOY] EOY license fixes 1.15.x (#19787) 2024-01-02 08:38:56 -08:00
hc-github-team-consul-core 3b70b66ecf
Backport of NET-6942 - Replace usage of deprecated Envoy field envoy.config.cluster.v3.Cluster.http_protocol_options. into release/1.15.x (#20031)
fix formatting issue in envoy bootstrapping

Co-authored-by: John Murret <john.murret@hashicorp.com>
2023-12-21 23:19:17 +00:00
hc-github-team-consul-core c32f33b671
Backport of [NET-7009] security: update x/crypto to 0.17.0 into release/1.15.x (#20027)
backport of commit d8a33b4e72

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2023-12-21 20:30:49 +00:00
hc-github-team-consul-core 1268d067c8
Backport of NET-6317 - update usage of deprecated fields: http2_protocol_options and access_log_path into release/1.15.x (#19951)
NET-6317 - update usage of deprecated fields: http2_protocol_options and access_log_path

Co-authored-by: John Murret <john.murret@hashicorp.com>
2023-12-14 14:57:12 -07:00
hc-github-team-consul-core d79540b0b0
Backport of test: update certs for 10 year expiry into release/1.15.x (#19559)
backport of commit d6283a9352

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2023-11-07 20:13:02 +00:00
hc-github-team-consul-core 9f17bf7fcf
Backport of Regen expired test certs into release/1.15.x (#19477)
backport of commit d399654096

Co-authored-by: Semir Patel <semir.patel@hashicorp.com>
2023-11-02 15:43:14 +00:00
Michael Zalimeni 5f0212bbfc
Backport of [NET-6138] security: Bump google.golang.org/grpc to 1.56.3 (CVE-2023-44487) to release/1.15.x (#19421)
Bump google.golang.org/grpc to 1.56.3

This resolves [CVE-2023-44487](https://nvd.nist.gov/vuln/detail/CVE-2023-44487).

Also includes various fixes from later release versions required for
tests and linters to pass. See 77f44fa878
for the majority of these changes.

Co-authored-by: Chris Thain <chris.m.thain@gmail.com>
2023-10-30 10:51:34 -04:00
hc-github-team-consul-core c33ef90dde
Backport of [NET-5944] security: Update Go version to 1.20.10 and `x/net` to 0.17.0 into release/1.15.x (#19233)
* backport of commit d7d9de9564

* backport of commit 0794b1ce74

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2023-10-17 00:17:36 +00:00
Semir Patel 83a2e726dc
[BACKPORT] 1.15.x manual backport of OSS->CE branch (#18552)
OSS -> CE (community edition) changes (#18517)
2023-08-23 11:55:18 -05:00
hc-github-team-consul-core a12708dc16
Backport of NET-5187: Upgrade test timeout due to log producer errors into release/1.15.x (#18471)
backport of commit 59bfc81d49

Co-authored-by: NiniOak <anita.akaeze@hashicorp.com>
2023-08-15 16:52:23 +00:00
hc-github-team-consul-core bc5a3576cf
Backport of bump testcontainers-go from 0.22.0 and remove pinned go version in in… into release/1.15.x (#18407)
* bump version

* remove duplicate test file

---------


Co-authored-by: Hui Kang <hui.kang@hashicorp.com>
2023-08-08 21:53:11 -04:00
cskh 57cf6f0479
Backport 1.15.x Upgrade test: remove outdated test and disable log du… (#18416)
Backport 1.16.x Upgrade test: remove outdated test and disable log due to verbosity (… (#18413)

Upgrade test: remove outdated test and disable log due to verbosity (#18403)

* remove outdated test

* disable log since we have too many parallel tests
2023-08-08 22:47:04 +00:00
hc-github-team-consul-core 78f6df469c
Backport of [NET-5146] security: Update Go version to 1.20.7 and `x/net` to 0.13.0 into release/1.15.x (#18362)
backport of commit 905e371607

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2023-08-02 19:05:45 +00:00
hc-github-team-consul-core a799176bf1
Backport of [NET-4865] Bump golang.org/x/net to 0.12.0 into release/1.15.x (#18188)
Backport of [NET-4865] Bump golang.org/x/net to 0.12.0 into release/1.16.x (#18189)

Bump golang.org/x/net to 0.12.0

While not necessary to directly address CVE-2023-29406 (which should be
handled by using a patched version of Go when building), an
accompanying change to HTTP/2 error handling does impact agent code.

See https://go-review.googlesource.com/c/net/+/506995 for the HTTP/2
change.

Bump this dependency across our submodules as well for the sake of
potential indirect consumers of `x/net/http`.

Manual backport of 84cbf09185.
2023-07-19 16:54:33 +00:00
hc-github-team-consul-core 7a10f95a22
Backport of chore: bump upgrade integrations tests to 1.15, 116 [NET-4743] into release/1.15.x (#18147)
Co-authored-by: Nick Irvine <115657443+nfi-hashicorp@users.noreply.github.com>
2023-07-18 10:03:41 -07:00
hc-github-team-consul-core 9c4861bb93
Backport of [OSS] Fix initial_fetch_timeout to wait for all xDS resources into release/1.15.x (#18064)
* fix(connect): set initial_fetch_time to wait indefinitely

* changelog

* PR feedback 1

---------

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2023-07-10 17:43:45 -04:00
hc-github-team-consul-core a741e94173
Backport of [OSS] Improve Gateway Test Coverage of Catalog Health into release/1.15.x (#18013)
* backport of commit 954bd6ab1f

* backport of commit 85c32d8f2e

* backport of commit 7ea3d622d7

* backport of commit 127ae69c6d

* backport of commit e04099b6cd

* fix import

---------

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2023-07-05 16:58:39 -04:00
hc-github-team-consul-core 65cc60e87f
Backport of APIGW Normalize Status Conditions into release/1.15.x (#17844)
* APIGW Normalize Status Conditions (#16994)

* normalize status conditions for gateways and routes

* Added tests for checking condition status and panic conditions for
validating combinations, added dummy code for fsm store

* get rid of unneeded gateway condition generator struct

* Remove unused file

* run go mod tidy

* Update tests, add conflicted gateway status

* put back removed status for test

* Fix linting violation, remove custom conflicted status

* Update fsm commands oss

* Fix incorrect combination of type/condition/status

* cleaning up from PR review

* Change "invalidCertificate" to be of accepted status

* Move status condition enums into api package

* Update gateways controller and generated code

* Update conditions in fsm oss tests

* run go mod tidy on consul-container module to fix linting

* Fix type for gateway endpoint test

* go mod tidy from changes to api

* go mod tidy on troubleshoot

* Fix route conflicted reason

* fix route conflict reason rename

* Fix text for gateway conflicted status

* Add valid certificate ref condition setting

* Revert change to resolved refs to be handled in future PR

* Resolve sneaky merge conflicts

---------

Co-authored-by: John Maguire <john.maguire@hashicorp.com>
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2023-06-23 14:05:11 -04:00
malizz 09e11fb8e0
Update 1.15.x submodules, version, and changelog (#17559) 2023-06-15 13:17:54 +00:00
hc-github-team-consul-core d991db50fa
backport of commit 65d5aeaaac (#17531)
Co-authored-by: Poonam Jadhav <poonam.jadhav@hashicorp.com>
2023-05-31 17:48:52 +00:00
cskh 5526290892
[Release/1.15.x] net 3914 gha consul container test no splitting (#17425) 2023-05-23 14:06:48 -04:00
hc-github-team-consul-core 1cc9457e29
Backport of Only synthesize anonymous token in primary DC into release/1.15.x (#17431)
* backport of commit 1e48592aaa

* Add integration test for wan fed issue

* Add changelog

---------

Co-authored-by: Paul Glass <pglass@hashicorp.com>
2023-05-23 15:30:09 +00:00
Derek Menteer 4f99d24a29
Backport flaky-test fix to 1.15 (#17309)
* De-flake snapshot test (#17120)

* Add missing import to test.

* Swap retry t reference.

---------

Co-authored-by: Paul Banks <pbanks@hashicorp.com>
2023-05-11 14:49:12 -05:00
malizz 734d7a27f4
backport PR 15979 to 1.15.x (#17208)
* backport PR 15979 to 1.15.x

* fix test file

* fix proto generated file

* update unit tests

* fix merge conflict

* fix test
2023-05-09 17:25:50 -07:00
hc-github-team-consul-core 2ab3184c61
manually import the change (#17239) 2023-05-08 17:54:23 -04:00
Paul Banks 7fbc68a4c4
Backport 1.15: Bump raft to 1.5.0 (#17081) (#17088)
* Bump raft to 1.5.0 (#17081)

* Bump raft to 1.5.0
* Add CHANGELOG entry

* Go mod tidy

* Fix release 1.15 GHA integrations yaml

* Go mod tidy container tests
2023-04-24 17:04:16 +01:00
hc-github-team-consul-core eaf0c05217
backport of commit f42b1de80b (#17079)
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
2023-04-20 22:02:55 +00:00
Anita Akaeze 689360c0c5
NET-3648: Add script to get consul and envoy version (#17060) (#17074) 2023-04-20 14:47:07 -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 816f8151ab
backport of commit 91be1c3e35 (#16990)
Co-authored-by: cskh <hui.kang@hashicorp.com>
2023-04-12 22:23:33 +00:00
Anita Akaeze 2b07d8010b
NET-2397: Add readme.md to upgrade test subdirectory (#16610) (#16696)
* NET-2397: Add readme.md to upgrade test subdirectory

* remove test code

* fix link and update  steps of adding new test cases (#16654)

* fix link and update  steps of adding new test cases

* Apply suggestions from code review



---------



---------

Co-authored-by: cskh <hui.kang@hashicorp.com>
Co-authored-by: Nick Irvine <115657443+nfi-hashicorp@users.noreply.github.com>
2023-03-21 08:50:23 -05:00
hc-github-team-consul-core 9e88415e4d
Backport of Snapshot restore tests into release/1.15.x (#16672)
* backport of commit a8525f8315

* backport of commit a2d560517c

* backport of commit 958c279dbc

* backport of commit 1c1b88bc6a

* backport of commit cd25976169

* backport of commit d95619f85f

* backport of commit 15a4645e7f

* backport of commit abb2203af5

---------

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
Co-authored-by: Paul Banks <pbanks@hashicorp.com>
Co-authored-by: John Murret <john.murret@hashicorp.com>
2023-03-19 23:33:52 +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
Semir Patel 99e1ccefc2 bump api and sdk modules 2023-03-07 13:42:33 -06: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 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 10b5250126
Backport of Gateway Test HTTPPathRewrite into release/1.15.x (#16466)
* no-op commit due to failed cherry-picking

* add http url path rewrite

* add Mike's test back in

* update kind to use api.APIGateway

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: Sarah Alsmiller <sarah.alsmiller@hashicorp.com>
Co-authored-by: sarahalsmiller <100602640+sarahalsmiller@users.noreply.github.com>
2023-02-28 16:36:54 -06:00
cskh 31e094b36e
upgrade test: consolidate resolver test cases (#16443) (#16457) 2023-02-28 16:31:52 +00:00
hc-github-team-consul-core 9902dab7bc
Backport of Basic gobased API gateway spinup test into release/1.15.x (#16423)
* backport of commit 60a62add31

* backport of commit 560cd55675

* backport of commit bd3ff14638

* backport of commit b8a4c8319d

* backport of commit 184b6bbcb0

* backport of commit cc213b67b4

* backport of commit e706bc7cac

* backport of commit 064a3c0104

* backport of commit b8aa15ef54

* updated GetPort interface

* fix getport

* fix syntax issues

* fix gofmt error

* removed deprecated random calls, removed unused port variable

* clean up duplicate comment

* Update test/integration/consul-container/test/gateways/gateway_endpoint_test.go

* parralelize this test

* delete extra line

* clean up unneeded comments

---------

Co-authored-by: Sarah Alsmiller <sarah.alsmiller@hashicorp.com>
Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
Co-authored-by: sarahalsmiller <100602640+sarahalsmiller@users.noreply.github.com>
2023-02-27 20:06:38 +00:00
hc-github-team-consul-core 291690bbb3
backport of commit e17298b6b8 (#16441)
Co-authored-by: Anita Akaeze <anita.akaeze@hashicorp.com>
2023-02-27 19:28:51 +00:00