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

Custom value of agent port #489

Merged
merged 5 commits into from
Apr 12, 2021
Merged

Conversation

HamzaZo
Copy link
Contributor

@HamzaZo HamzaZo commented Apr 4, 2021

This PR allows users to set the different port of AGENT_INJECT_LISTEN, other than the default one.
Ref issue

@hashicorp-cla
Copy link

hashicorp-cla commented Apr 4, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@jasonodonnell jasonodonnell left a comment

Choose a reason for hiding this comment

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

Hi @HamzaZo, thanks for the contribution!

This looks good but is missing a few things:

  • The health probes need to be updated with the custom port,
  • Bats unit tests need to be added to ensure coverage on this new configurable. You can find those in test/unit.

Thanks again!

@HamzaZo
Copy link
Contributor Author

HamzaZo commented Apr 8, 2021

Hello @jasonodonnell, thanks for the review.

I added the missing configs

Thanks!

Copy link
Contributor

@jasonodonnell jasonodonnell left a comment

Choose a reason for hiding this comment

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

Thanks @HamzaZo! It looks like the service will also need unit tests since those values are effected by this configurable as well.

@HamzaZo
Copy link
Contributor Author

HamzaZo commented Apr 8, 2021

@jasonodonnell I update the configuration, could you check it? Thanks

values.yaml Outdated Show resolved Hide resolved
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
@HamzaZo
Copy link
Contributor Author

HamzaZo commented Apr 10, 2021

Hi @jasonodonnell,
Can you check if everything looks good?
thanks

Copy link
Contributor

@jasonodonnell jasonodonnell left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@jasonodonnell jasonodonnell merged commit d8c2d20 into hashicorp:master Apr 12, 2021
@HamzaZo HamzaZo deleted the feat/agent-port branch April 12, 2021 21:05
@jasonodonnell jasonodonnell mentioned this pull request Apr 14, 2021
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