Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MaxConnectionsPerHost to Agent Injector #579

Merged
merged 13 commits into from
Jan 24, 2024

Conversation

ccapurso
Copy link
Contributor

@ccapurso ccapurso commented Jan 18, 2024

hashicorp/consul-template#1858 introduced the ability to specify the maximum amount of connections allowed per Vault host within a Vault client's Transport configuration. The ability to specify this within Vault Agent was then introduced in hashicorp/vault#24548.

This PR adds support for max_connections_per_host within Agent injector. Along with adding support, a change was introduced to move away from the strconv parse functions in favor of github.com/hashicorp/go-secure-stdlib/parseutil.

@ccapurso ccapurso changed the title Ccapurso/injector max conns per host Add MaxConnectionsPerHost to Agent Injector Jan 18, 2024
agent-inject/agent/annotations.go Outdated Show resolved Hide resolved
agent-inject/agent/annotations.go Outdated Show resolved Hide resolved
@ccapurso ccapurso marked this pull request as ready for review January 18, 2024 21:39
agent-inject/agent/agent.go Outdated Show resolved Hide resolved
@ccapurso ccapurso requested a review from tvoran January 23, 2024 20:17
Copy link
Member

@tvoran tvoran left a comment

Choose a reason for hiding this comment

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

Tested great for me locally too 👍

Feel free to add a changelog entry under Unreleased -> Features too if you like.

agent-inject/agent/agent.go Outdated Show resolved Hide resolved
@tvoran tvoran added this to the 1.4.0 milestone Jan 24, 2024
@ccapurso ccapurso merged commit 4c7876b into main Jan 24, 2024
7 checks passed
@ccapurso ccapurso deleted the ccapurso/injector-max-conns-per-host branch January 24, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants