Commit Graph

20112 Commits (8aeac550793af39b74abbe03907dc1c920602fb0)

Author SHA1 Message Date
wangxinyi7 8aeac55079
update changelog and version (#20929) 2024-03-28 11:41:55 -07:00
David Yu 7d44797870
Update Dockerfile: alpine 3.19 for 1.15.x (#20924)
Update Dockerfile
2024-03-28 11:17:19 -04:00
David Yu a2abd49ffc
Update Dockerfile: backport to 1.15.x (#20918)
* Update Dockerfile

* Update Dockerfile

* Create 20897.txt
2024-03-27 18:39:57 -07:00
hc-github-team-consul-core 4fc9491999
Backport of security: triage false positive for go-jose/v3 into release/1.15.x (#20902)
backport of commit c8d6b2528c

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-03-26 21:43:41 +00:00
hc-github-team-consul-core 2a8c9d0dc6
Backport of [NET-8368] security: bump Go version to 1.21.8 into release/1.15.x (#20900)
* backport of commit d65cacc7a6

* backport of commit 60ab1568ca

---------

Co-authored-by: dduzgun-security <deniz.duzgun@hashicorp.com>
Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
2024-03-26 14:03:14 -07:00
Luke Kysow 43ecc20b08
Fix UI lint error (#20893) 2024-03-25 11:15:36 -07:00
hc-github-team-consul-core 59558b7022
Backport of Fix typo in ingress-gateway docs into release/1.15.x (#20836)
backport of commit c1e25c56db

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2024-03-12 21:13:46 +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
Michael Zalimeni 4a88465eba
Manual backport of [NET-6741] make: Add target for updating dependencies across all modules into release/1.15.x (#20687)
* backport of commit 6f0e24cda7

* partial backport of commit 77f44fa878

Update go-mod-tidy Make target to use flexible modules list.

This will update the list to include envoyextensions and troubleshoot.
2024-02-27 10:48:54 -06:00
hc-github-team-consul-core 5c0fcf75e2
Backport of Use correct enterprise meta on wildcard service update into release/1.15.x (#20726)
* backport of commit 94a0aa2ea7

* backport of commit f0e1badd6f

* backport of commit 183dd2fb12

---------

Co-authored-by: Sarah Alsmiller <sarah.alsmiller@hashicorp.com>
2024-02-26 12:36:38 -06:00
Curt Bushko b251def757
Update helm docs for consul-k8s 1.1.10 release (#20666) 2024-02-16 12:25:24 -05:00
wangxinyi7 053e4dceba
update changelog 1.15.x (#20634)
update changelog 1.15.x
2024-02-13 17:21:04 -08:00
hc-github-team-consul-core 056068ec26
Backport of docs: document behaviour of tls.https.verify_outgoing into release/1.15.x (#20612)
backport of commit ded3c9fa12

Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2024-02-13 09:39:05 -08:00
Michael Zalimeni 50679d48fd
[NET-7948] Bump Envoy version on 1.15.x (LTS) to address multiple CVEs (#20590)
security: Bump Envoy versions to address CVEs
2024-02-12 17:09:32 -05:00
hc-github-team-consul-core 59b4c7ff4b
Backport of use go 1.21.7 into release/1.15.x (#20557)
* backport of commit 6c31fd7629

* backport of commit 8620e73549

---------

Co-authored-by: skpratt <sarah.pratt@hashicorp.com>
2024-02-11 18:00:18 -06:00
hc-github-team-consul-core 7e39aa3760
Backport of Decouple xds capacity controller and raft-autopilot into release/1.15.x (#20548)
* backport of commit 1668a314c6

* backport of commit d33eda97be

* Backport DeliverLatest func.

---------

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-02-09 08:02:19 -06:00
hc-github-team-consul-core ce4d60998c
Backport of Fix audit-log encoding issue (CC-7337) into release/1.15.x (#20497)
* no-op commit due to failed cherry-picking

* Fix audit-log encoding issue (CC-7337) (#20345)

* add changes

* added changelog

* change update

* CE chnages

* Removed gzip size fix

* fix changelog

* Update .changelog/20345.txt

Co-authored-by: Hans Hasselberg <hans@hashicorp.com>

* Adding comments

---------

Co-authored-by: Abhishek Sahu <abhishek.sahu@hashicorp.com>
Co-authored-by: Hans Hasselberg <hans@hashicorp.com>
Co-authored-by: srahul3 <rahulsharma@hashicorp.com>

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com>
Co-authored-by: Abhishek Sahu <abhishek.sahu@hashicorp.com>
Co-authored-by: Hans Hasselberg <hans@hashicorp.com>
Co-authored-by: srahul3 <rahulsharma@hashicorp.com>
2024-02-06 11:51:29 +00:00
hc-github-team-consul-core e4d96754b2
Backport of Fix issue with persisting proxy-defaults into release/1.15.x (#20486)
Fix issue with persisting proxy-defaults

This resolves an issue introduced in hashicorp/consul#19829
where the proxy-defaults configuration entry with an HTTP protocol
cannot be updated after it has been persisted once and a router
exists. This occurs because the protocol field is not properly
pre-computed before being passed into validation functions.

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-02-05 16:28:06 -06:00
Michael Zalimeni bde099e029
ci: sync point release branches in addition to .x (#20290)
This replicates the pattern used in `main` and `release/1.17.x`.
2024-02-05 13:42:28 -05:00
hc-github-team-consul-core b34851b0bf
Backport of Resolve Consul DNS in OpenShift into release/1.15.x (#20444)
* backport of commit 3885ff70f7

* backport of commit 97501c9185

* backport of commit 5330e75597

* backport of commit 1ff82ed228

---------

Co-authored-by: natemollica-dev <57850649+natemollica-nm@users.noreply.github.com>
Co-authored-by: natemollica-dev <nathan.mollica@hashicorp.com>
2024-02-01 14:20:12 -08:00
hc-github-team-consul-core 0bfb55cad3
Backport of docs: Fix example service registration for built-in proxy into release/1.15.x (#20348)
backport of commit d5005719c0

Co-authored-by: Blake Covarrubias <blake@covarrubi.as>
2024-01-31 14:40:33 -08:00
Derek Menteer 9bde1300d6
Disable CICD Envoy check (#20388)
Disable Envoy version check.

The current version of this script does not work well with the LTS release having a much
longer list of supported Envoy versions than the other branches. Later on, we should
tweak this to have the expected behavior, but for now, it is being disabled so that the
CICD pipeline can complete successfully and publish images.
2024-01-29 13:00:02 -06:00
Derek Menteer 6406f8494b
Fix CICD script that checks envoy versions. (#20385) 2024-01-29 12:02:43 -06:00
Derek Menteer 2ca2b89ba3
Increase number of supported envoy versions in failing CICD script (#20384)
Fix CICD script that checks envoy versions.

LTS supports more than 4 envoy versions, so the script was failing.
2024-01-29 11:22:26 -06: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
Curt Bushko 9de70f5e91
LTS - Add envoy support for 1.26, 1.27 and 1.28 (#20323)
* LTS - Add envoy support for 1.26, 1.27 and 1.28
2024-01-26 13:34:46 -05:00
John Maguire a9dd548e10
Update version 1.15.10 dev (#20340)
* update version to 1.15.10-dev

* update changelog
2024-01-24 14:21:44 -05:00
hc-github-team-consul-core f92d2723b0
Backport of security: fix syntax for release scan config into release/1.15.x (#20285)
backport of commit fd527e7efd

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-19 12:18:23 -05:00
Michael Zalimeni 4290bb49ed
[NET-7339] security: update gopkg.in/yaml (#20281)
security: update gopkg.in/yaml

This addresses CVE-2022-28948 and CVE-2021-4235.
2024-01-19 16:31:31 +00:00
hc-github-team-consul-core 1f72a4e615
Backport of security: disable Vault secret scans due to false positives into release/1.15.x (#20272)
backport of commit 20ee337302

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-19 14:51:54 +00:00
hc-github-team-consul-core c0319b60ae
Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.15.x (#20266)
This add a fix to properly verify the gateway mode before creating a watch specific to mesh gateways. This watch have a high performance cost and when mesh gateways are not used is not used.

This also adds an optimization to only return the nodes when watching the Internal.ServiceDump RPC to avoid unnecessary disco chain compilation. As watches in proxy config only need the nodes.

* backport of commit b0ce20b5e2
* backport of commit 3d4bde00cf
* backport of commit b2c77246b9
* backport of commit e7ab4d418d
* backport of commit d00d9c5da4
* backport of commit b2db3d5eb4
* backport of commit 50fb45ac74
* backport of commit 7b41a61c17
* backport of commit 2fa0e0a629
* backport of commit 88849c9030
* backport of commit 4ac54f10bc
* backport of commit 2a9dfc37f2
* Fix tests for backport.

---------

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-01-19 08:18:53 -06:00
hc-github-team-consul-core a7efdcadc3
Backport of check error in TestDNSCycleRecursorCheckAllFail before asserting response to stop panic in CI. into release/1.15.x (#20233)
check error in TestDNSCycleRecursorCheckAllFail before asserting response to stop panic in CI. (#20231)

Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-01-17 17:07:07 +00:00
Jeff Boruszak ecc2f2a9f6
backport of docs: Remove ACLs section from k8s cluster peering page (#20176) (#20228)
docs: Remove ACLs section from k8s cluster peering page (#20176)

* Remove ACLs section

* Tech specs removal
2024-01-17 15:19:06 +00:00
hc-github-team-consul-core fe9710a26f
Backport of ci: Use Consul Go version for Vault int tests into release/1.15.x (#20221)
backport of commit 9816a74b39

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-17 09:18:00 -05:00
hc-github-team-consul-core d2952ff6a1
Backport of Add docs for k8s liveness / startup probes. into release/1.15.x (#20225)
Add docs for k8s liveness / startup probes. (#20213)

* Add docs for k8s liveness / startup probes.

* Update website/content/docs/k8s/helm.mdx



---------

Co-authored-by: Derek Menteer <105233703+hashi-derek@users.noreply.github.com>
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2024-01-16 21:19:52 +00:00
Michael Zalimeni 8247195884
Backport of chore: improve CI backports by backporting new workflows into release/1.15.x (#20218)
* chore: improve CI backports by backporting new workflows

Even though these files aren't used, adding them prevents backport
failures for common changes that are backported n-2 versions.

* chore: improve CI backports by backporting new workflows (1.16)

Even though these files aren't used, adding them prevents backport
failures for common changes that are backported n-2 versions.
2024-01-16 12:36:12 -05:00
hc-github-team-consul-core eb1c319774
Backport of agent: remove data race in agent config into release/1.15.x (#20201)
[1.15.x] agent: remove data race in agent config (#20200)

To fix an issue displaying the current reloaded config in the
v1/agent/self endpoint #18681 caused the agent's internal
config struct member to be deepcopied and replaced on reload.

This is not safe because the field is not protected by a lock, nor
should it be due to how it is accessed by the rest of the system.

This PR does the same deepcopy, but into a new field solely for
the point of capturing the current reloaded values for display
purposes. If there has been no reload then the original config is used.

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2024-01-16 11:11:32 -06:00
hc-github-team-consul-core 0d433a4f83
Backport of Various race condition and test fixes. into release/1.15.x (#20214)
* backport of commit fead597130

* Various test fixes.

* Fix race condition in reconcilePeering.

This resolves an issue where a peering object in the state store was
incorrectly mutated by a function, resulting in the test being flagged as
failing when the -race flag was used.

---------

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-01-16 10:32:17 -06:00
hc-github-team-consul-core c7dabc928a
Backport of compliance: license checker to enforce MPL pre-EOY 2023 no longer necessary into release/1.15.x (#20183)
* no-op commit due to failed cherry-picking

* backport MPL license checker removal (PR #20175)

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: Semir Patel <semir.patel@hashicorp.com>
2024-01-12 10:27:35 -06:00
hc-github-team-consul-core c5dd828369
Backport of [NET-4968] Upgrade Go to 1.21 into release/1.15.x (#20180)
* backport of commit 01ca961e04

* backport of commit e71ae3aed8

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-12 15:28:03 +00:00
Michael Zalimeni 977b2dcf3d
Backport of ci: Single source of truth for Go version in CI and Dockerfile into release/1.15.x (#20162)
* backport of commit ea888cd278

* ci: fix pull request labeler check
2024-01-11 15:49:08 -05:00
hc-github-team-consul-core 9c7f964100
Backport of Fix broken link into release/1.15.x (#20153)
backport of commit 58991eddb1

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2024-01-10 15:04:09 -05:00
Semir Patel 19e293bff4
license: MPL'ify proto-public (manual backport for 1.15.x) (#20157) 2024-01-10 14:00:54 -06:00
hc-github-team-consul-core a4a7cbbb99
Backport of [NET-6593] agent: check for minimum RSA key size into release/1.15.x (#20140)
* backport of commit 0e36f636a4

* manual backport

---------

Co-authored-by: Dan Bond <danbond@protonmail.com>
2024-01-10 13:14:18 +00:00
hc-github-team-consul-core e29f868c4e
Backport of Fix broken tests. into release/1.15.x (#20131)
* backport of commit 7a91738824

* Fix broken test.

---------

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-01-09 14:29:07 -06:00
Krastin Krastev 04f12b2ae8
Backport of docs/consul: rename the Vault secret engine for Consul integration into release/1.15.x (#20094)
docs/consul: rename the Vault secret engine for Consul integration (#20049)

* rename the KV secret engine

* update WAN federation guide

* update snapshot-agent doc

* update replication doc

* update partition doc

* update gossip doc

* update ent-license doc

* update bootstrap-token doc

* update index doc

* fix license kv path

* vault kv path explanation for /data/

* Update website/content/docs/k8s/deployment-configurations/vault/data-integration/index.mdx



---------

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2024-01-08 16:06:15 +02:00
hc-github-team-consul-core 7da6c9f27d
Backport of Use safeio to write server metadata file into release/1.15.x (#20104)
* backport of commit 0956e061b6

* backport of commit ed9709a578

---------

Co-authored-by: cskh <hui.kang@hashicorp.com>
2024-01-05 15:50:16 -05:00
hc-github-team-consul-core f616d3b4c3
Backport of agent: prevent empty server_metadata.json into release/1.15.x (#20018)
backport of commit 9fc0fc3dcc

Co-authored-by: cskh <hui.kang@hashicorp.com>
2024-01-05 14:42:14 -05: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