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

Allow providing custom http port and using system roots to the connect-init container #1453

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

ishustava
Copy link
Contributor

Previously, if you have configured externalServers.useSystemRoots or provided a different https port for external servers, we would ignore because we were hard-coding http port and were determining if TLS is enabled only if CA cert is set. That made sense when we were talking to clients, but now that we're talking to servers we need to account for those values so that the init container is correctly configured to talk to the servers

How I've tested this PR:

  • acceptance tests
  • manual tests with HCP

How I expect reviewers to test this PR:
👀

Checklist:

  • Tests added
  • CHANGELOG entry added

    HashiCorp engineers only, community PRs should not add a changelog entry.
    Entries should use present tense (e.g. Add support for...)

Copy link
Contributor

@thisisnotashwin thisisnotashwin left a comment

Choose a reason for hiding this comment

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

Excellence! I really like the cleanup to how the address is parsed!!

Copy link
Contributor

@t-eckert t-eckert left a comment

Choose a reason for hiding this comment

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

Nice!

@ishustava ishustava changed the base branch from agentless to agentless-base August 29, 2022 19:36
@ishustava ishustava merged commit 27e0641 into agentless-base Aug 29, 2022
@ishustava ishustava deleted the ishustava/use-system-roots-for-servers branch August 29, 2022 19:36
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