Skip to content

Conversation

@kevinpollet
Copy link
Member

@kevinpollet kevinpollet commented Nov 8, 2023

What does this PR do?

This pull request updates the github.com/hashicorp/consul/api dependency to hashicorp/consul@api/v1.24.0...api/v1.26.1 and removes the consul dependency.

The consul dependency was only used to compute the SpiffeID. Furthermore, in newer version of this library, the computed SpiffeID will not be the same for Enterprise and CE builds (i.e. for CE builds the Namespace is always ignored and set to default).

Motivation

Because of the number of issues related to CVEs reported by scanning tools, we are updating the consul api dependency and removing the consul dependency.

Please note that Traefik is not affected by those CVEs. They affect the server code of the library, and Traefik is only using the client code.

More

  • Added/updated tests
  • Added/updated documentation

Additionals Information

Co-authored-by: lbenguigui lbenguigui@gmail.com

@kevinpollet kevinpollet added this to the 2.10 milestone Nov 8, 2023
@kevinpollet kevinpollet changed the title chore: update github.com/hashicorp/consul chore: update github.com/hashicorp/consul/api Nov 8, 2023
@kevinpollet kevinpollet force-pushed the update-consul branch 3 times, most recently from fc6ff01 to 6ca651e Compare November 9, 2023 08:35
Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@rtribotte rtribotte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@traefiker traefiker merged commit 085b70c into traefik:v2.10 Nov 9, 2023
@rtribotte rtribotte changed the title chore: update github.com/hashicorp/consul/api Update github.com/hashicorp/consul/api Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants