Commit Graph

20871 Commits (daf8f7e3d8c9fb0273287f0472adf7a780642574)

Author SHA1 Message Date
hc-github-team-consul-core daf8f7e3d8
Backport of Fix CICD docker image rate limits. into release/1.17.x (#20365)
backport of commit eb31f0257f

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-01-26 21:02:47 +00:00
Luke Kysow f180183642
Change logging of registered v2 resource endpoints to add /api prefix (#20355)
Change logging of registered v2 resource endpoints to add /api prefix (#20352)

* Change logging of registered v2 resource endpoints to add /api prefix

Previous:

    agent.http: Registered resource endpoint: endpoint=/demo/v1/executive

New:

    agent.http: Registered resource endpoint: endpoint=/api/demo/v1/executive

This reduces confusion when attempting to call the APIs after looking at
the logs.
2024-01-25 14:57:38 -08:00
John Maguire 7554f8da37
Update version 1.17.3 dev (#20338)
* update mod file for new versions

* update version to 1.17.3-dev

* update changelog

* update go.mod's
2024-01-24 13:44:11 -06:00
hc-github-team-consul-core 2c9a41ef20
Backport of docs: Update k8s/connect/create-sameness-groups into release/1.17.x (#20326)
backport of commit ad1d4f30de

Co-authored-by: Krastin Krastev <krastin@hashicorp.com>
2024-01-24 18:44:00 +02:00
Tauhid Anjum a7362db204
Backport of NET-5824 Exported services api (#20015) (#20315)
NET-5824 Exported services api (#20015)

* Exported services api implemented

* Tests added, refactored code

* Adding server tests

* changelog added

* Proto gen added

* Adding codegen changes

* changing url, response object

* Fixing lint error by having namespace and partition directly

* Tests changes

* refactoring tests

* Simplified uniqueness logic for exported services, sorted the response in order of service name

* Fix lint errors, refactored code
2024-01-23 14:43:52 +05:30
hc-github-team-consul-core 1c7e9443cb
Backport of Case sensitive route match into release/1.17.x (#20305)
backport of commit 1b458c4883

Co-authored-by: Lord-Y <Lord-Y@users.noreply.github.com>
2024-01-22 10:02:21 -06:00
hc-github-team-consul-core 82e8aa2e92
Backport of Deflake the catalog v2beta1 integration tests into release/1.17.x (#20280)
Deflake the catalog v2beta1 integration tests (#20278)

Co-authored-by: Matt Keeler <mkeeler@users.noreply.github.com>
2024-01-19 19:49:56 +00:00
hc-github-team-consul-core fff06157b2
Backport of security: fix syntax for release scan config into release/1.17.x (#20287)
backport of commit fd527e7efd

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-19 18:05:12 +00:00
hc-github-team-consul-core cd8bf36876
Backport of security: disable Vault secret scans due to false positives into release/1.17.x (#20274)
backport of commit 20ee337302

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-19 09:45:32 -05:00
hc-github-team-consul-core 993f2d21c0
Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268)
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

---------

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
2024-01-19 08:17:22 -06:00
John Maguire ec8d1f75c7
NET-3860 - [Supportability] consul troubleshoot CLI for verifying por… (#20261)
NET-3860 - [Supportability] consul troubleshoot CLI for verifying ports (#18329)

* init

* udp

* added support for custom port

* removed grpc

* rename constants

* removed udp

* added change log

* fix synopsis

* pr comment chagnes

* make private

* added tests

* added one more test case

* defer close results channel

* removed unwanted comment

* licence update

* updated docs

* fix indent

* fix path

* example update

* Update website/content/commands/troubleshoot/ports.mdx



* Update website/content/commands/troubleshoot/ports.mdx



* Update command/troubleshoot/ports/troubleshoot_ports.go



* Update website/content/commands/troubleshoot/ports.mdx



* Update website/content/commands/troubleshoot/index.mdx



* Update command/troubleshoot/ports/troubleshoot_ports.go



* Update command/troubleshoot/ports/troubleshoot_ports.go



* Update website/content/commands/troubleshoot/ports.mdx



* Update website/content/commands/troubleshoot/ports.mdx



* Update website/content/commands/troubleshoot/ports.mdx



* pr comment resolved

---------

Co-authored-by: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com>
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2024-01-18 15:44:44 -06:00
hc-github-team-consul-core 0e7c7e24ed
Backport of check error in TestDNSCycleRecursorCheckAllFail before asserting response to stop panic in CI. into release/1.17.x (#20235)
* no-op commit due to failed cherry-picking

* check error in TestDNSCycleRecursorCheckAllFail before asserting response to stop panic in CI. (#20231)

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-01-17 17:11:54 +00:00
hc-github-team-consul-core ecb6ed02d6
Backport of ci: Use Consul Go version for Vault int tests into release/1.17.x (#20223)
backport of commit 9816a74b39

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-17 09:17:41 -05:00
hc-github-team-consul-core 39d60cd8d8
Backport of NET-7025 - ci: test-integrations failures in compatibility tests. panics occuring in selectionTracker.TrackIDForSelection into release/1.17.x (#20230)
* backport of commit 2b3b309d34

* backport of commit 1740fe71a0

---------

Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-01-16 22:55:51 +00:00
hc-github-team-consul-core cd8f8bf4cf
Backport of Add docs for k8s liveness / startup probes. into release/1.17.x (#20227)
* backport of commit 31796a74ff

* backport of commit febc574b23

---------

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
Co-authored-by: Derek Menteer <105233703+hashi-derek@users.noreply.github.com>
2024-01-16 21:16:23 +00:00
hc-github-team-consul-core 5d350c6827
Backport of agent: remove data race in agent config into release/1.17.x (#20203)
backport of commit 6aa99b32e8
2024-01-16 11:10:56 -06:00
hc-github-team-consul-core 05043bc3c3
Backport of docs: fix partition target in samenessgroups into release/1.17.x (#20208)
backport of commit 7b25343b42

Co-authored-by: Krastin Krastev <krastin@hashicorp.com>
2024-01-16 16:59:27 +00:00
hc-github-team-consul-core 0d97ec54e5
Backport of Various race condition and test fixes. into release/1.17.x (#20216)
* backport of commit fead597130

* backport of commit 91dfaad67b

* backport of commit dc04075010

---------

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-01-16 10:42:59 -06:00
hc-github-team-consul-core 9a36b73e1b
Backport of docs: Remove ACLs section from k8s cluster peering page into release/1.17.x (#20198)
* backport of commit ce0c9be799

* backport of commit 98bb280eac

---------

Co-authored-by: boruszak <jeffrey.boruszak@hashicorp.com>
2024-01-16 08:29:29 -08:00
hc-github-team-consul-core 0b4f4fd703
Backport of compliance: license checker to enforce MPL pre-EOY 2023 no longer necessary into release/1.17.x (#20185)
backport of commit ea8fa35b37

Co-authored-by: Semir Patel <semir.patel@hashicorp.com>
2024-01-12 09:40:00 -06:00
hc-github-team-consul-core fa8fa25682
Backport of [NET-4968] Upgrade Go to 1.21 into release/1.17.x (#20182)
* backport of commit 01ca961e04

* backport of commit e71ae3aed8

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-12 15:21:25 +00:00
Michael Zalimeni cdf38cbb21
chore: improve CI backports by backporting new workflows (1.17) (#20173)
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.
2024-01-11 20:27:55 -05:00
Michael Zalimeni a0c9b5e37c
Backport of ci: Single source of truth for Go version in CI and Dockerfile into release/1.17.x (#20160)
backport of commit ea888cd278
2024-01-11 15:48:37 -05:00
hc-github-team-consul-core 6d66b02072
Backport of Fix broken link into release/1.17.x (#20155)
backport of commit 58991eddb1

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2024-01-10 15:03:51 -05:00
Semir Patel 587c226bba
license: MPL'ify proto-public (manual backport for 1.17.x) (#20148) 2024-01-10 13:13:39 -06:00
hc-github-team-consul-core 55b388b3a5
Backport of [NET-6593] agent: check for minimum RSA key size into release/1.17.x (#20142)
* backport of commit 0e36f636a4

* manual backport

---------

Co-authored-by: Dan Bond <danbond@protonmail.com>
2024-01-10 13:21:43 +00:00
hc-github-team-consul-core 14928687bc
Backport of Fix broken tests. into release/1.17.x (#20133)
* backport of commit 7a91738824

* Fix broken test.

---------

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2024-01-09 14:35:02 -06:00
hc-github-team-consul-core 69a3ea5890
Backport of Update gateway.mdx into release/1.17.x (#20129)
backport of commit 4c5d721328

Co-authored-by: Pascal Hofmann <mail@pascalhofmann.de>
2024-01-09 12:28:13 -08:00
hc-github-team-consul-core 9f88a1b036
Backport of Fixes issue - 20109 into release/1.17.x (#20125)
* no-op commit due to failed cherry-picking

* Fixes issue - 20109 (#20111)

* Fixes #20109

* add @hasA11yRefocus false

* add changelog

* Update ui/packages/consul-ui/app/components/hashicorp-consul/index.hbs

Co-authored-by: Tauhid Anjum <tauhidanjum@gmail.com>

---------

Co-authored-by: Tauhid Anjum <tauhidanjum@gmail.com>

* fix: stop re-clicking dc dropdown in dc-switch test

* fix: keep nspaces dropdown open in manage nspaces test

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com>
Co-authored-by: Tauhid Anjum <tauhidanjum@gmail.com>
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2024-01-09 19:01:36 +00:00
Krastin Krastev 7dec32ee1f
Backport of docs/consul: rename the Vault secret engine for Consul integration into release/1.17.x (#20092)
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:00:11 +02:00
hc-github-team-consul-core ab2666afb7
Backport of Use safeio to write server metadata file into release/1.17.x (#20106)
* backport of commit 0956e061b6

* backport of commit ed9709a578

---------

Co-authored-by: cskh <hui.kang@hashicorp.com>
2024-01-05 15:16:14 -05:00
hc-github-team-consul-core 5208cdde66
Backport of docs: remove unsupported critical flag from DNS weights into release/1.17.x (#20099)
backport of commit e6b60f5f5e

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2024-01-05 10:48:01 -05:00
hc-github-team-consul-core 833f3e2396
Backport of NET-4774 - replace usage of deprecated Envoy field match_subject_alt_names into release/1.17.x (#20057)
NET-4774 - replace usage of deprecated Envoy field match_subject_alt_names (#19954)

Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-01-02 19:13:16 +00:00
hc-github-team-consul-core 84eda5fcd5
Backport of ci: increase runner size for security scans into release/1.17.x (#20071)
backport of commit e84dd20cb4

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-01-02 18:17:08 +00:00
hc-github-team-consul-core 4e1e51904b
Backport of NET-6943 - Replace usage of deprecated Envoy field envoy.config.router.v3.WeightedCluster.total_weight. into release/1.17.x (#20061)
* no-op commit due to failed cherry-picking

* NET-6943 - Replace usage of deprecated Envoy field envoy.config.router.v3.WeightedCluster.total_weight. (#20011)

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-01-02 17:31:51 +00:00
hc-github-team-consul-core ce7e73bb3a
Backport of [DO NOT MERGE UNTIL EOY] update year in LICENSE and copywrite files into release/1.17.x (#20067) 2024-01-02 09:00:24 -08:00
John Murret 59da5e792f
Backport into 1.17 of NET-6944 - Replace usage of deprecated Envoy field envoy.extensions.filters.http.lua.v3.Lua.inline_code (#20054)
NET-6944 - Replace usage of deprecated Envoy field envoy.extensions.filters.http.lua.v3.Lua.inline_code (#20012)
2023-12-22 18:00:58 +00:00
hc-github-team-consul-core cc9b6e2a02
Backport of fix formatting issue in envoy bootstrapping. into release/1.17.x (#20043)
backport of commit c4c2ddef30

Co-authored-by: John Murret <john.murret@hashicorp.com>
2023-12-21 16:20:45 -07:00
hc-github-team-consul-core 4208875d5b
Backport of NET-6942 - Replace usage of deprecated Envoy field envoy.config.cluster.v3.Cluster.http_protocol_options. into release/1.17.x (#20033)
* backport of commit 79711465e0

* backport of commit c9e5801e7e

---------

Co-authored-by: John Murret <john.murret@hashicorp.com>
2023-12-21 15:16:23 -07:00
David Yu 8a0ea776da
Dockerfile: backport of #20014 for 1.17.x (#20035)
* Update Dockerfile

* Create 20014.txt
2023-12-21 13:22:46 -08:00
hc-github-team-consul-core c8bbd39ca7
Backport of [NET-7009] security: update x/crypto to 0.17.0 into release/1.17.x (#20029)
backport of commit d8a33b4e72

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2023-12-21 20:35:44 +00:00
hc-github-team-consul-core e2a07a85e2
Backport of [NET-6969] security: Re-enable Go Module + secrets security scans for release branches into release/1.17.x (#20021)
* backport of commit 63030c8bb6

* backport of commit f40a132a83

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2023-12-21 15:29:46 +00:00
hc-github-team-consul-core 03c94a7cf0
Backport of agent: prevent empty server_metadata.json into release/1.17.x (#19997)
backport of commit 9fc0fc3dcc

Co-authored-by: cskh <hui.kang@hashicorp.com>
2023-12-21 10:05:17 -05:00
Thomas Eckert 5c7130b5a8
Update Helm Documenation with changes from release 1.3.1 (#20004) 2023-12-19 22:15:22 +00:00
hc-github-team-consul-core 64130aa4a3
Backport of NET 6409 into release/1.17.x (#19987)
NET 6409 (#19515)

* Update website/content/docs/k8s/k8s-cli.mdx



* Update website/content/docs/k8s/k8s-cli.mdx



* fix doc

* Update website/content/docs/k8s/k8s-cli.mdx



---------

Co-authored-by: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com>
Co-authored-by: David Yu <dyu@hashicorp.com>
2023-12-19 12:53:27 +05:30
hc-github-team-consul-core 1198fdd842
Backport of Net 6603 into release/1.17.x (#19981)
* no-op commit due to failed cherry-picking

* Net 6603 (#19718)

* Update docs for NET-6603

* json format

* json caps

* Update website/content/docs/k8s/k8s-cli.mdx

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

---------

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

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com>
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-12-19 06:54:43 +00:00
hc-github-team-consul-core 8860173066
Backport of docs: Update network segments in compat matrix for Enterprise features into release/1.17.x (#19984)
backport of commit 225cd7fffb

Co-authored-by: David Yu <dyu@hashicorp.com>
2023-12-18 22:36:53 +00:00
hc-github-team-consul-core d3ae8cf145
Backport of docs: typo formatting consul-k8s docs into release/1.17.x (#19977)
backport of commit 798f925b90

Co-authored-by: David Yu <dyu@hashicorp.com>
2023-12-18 20:21:50 +00:00
hc-github-team-consul-core f5ab81e124
Backport of ci: upload test results to DataDog on test failure into release/1.17.x (#19964)
backport of commit 0085e75996

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2023-12-15 22:37:09 +00:00
hc-github-team-consul-core ad4851c973
Backport of Fix bug with prepared queries using sameness-groups. into release/1.17.x (#19972)
backport of commit 21bde38517

Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2023-12-15 13:17:08 -06:00