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

Backport of Add fix for api-gateway when using system-wide trusted CAs for external servers into release/1.0.x #1747

Merged

Conversation

hc-github-team-consul-ecosystem
Copy link
Contributor

Backport

This PR is auto-generated from #1743 to be assessed for backporting due to the inclusion of the label backport/1.0.x.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

merge conflict error: POST https://api.github.com/repos/hashicorp/consul-k8s/merges: 409 Merge conflict []

The below text is copied from the body of the original PR.


Changes proposed in this PR:

This adds some logic that was forgotten around leveraging externalServers.useSystemRoots. Without it, attempting to use something like HCP as an external server without agents causes the gateway controller to fail validating the Consul server connection since it's using the wrong certificate authority.

How I've tested this PR:

Validated against HCP with the api-gateway changes in hashicorp/consul-api-gateway#459

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...)


Overview of commits

Add fix for api-gateway when using system-wide trusted CAs for external servers
@andrewstucki andrewstucki marked this pull request as ready for review November 18, 2022 20:49
@andrewstucki andrewstucki merged commit 3520bf1 into release/1.0.x Nov 18, 2022
@andrewstucki andrewstucki deleted the backport/as/system-ca-fix/loosely-topical-gibbon branch November 18, 2022 21:00
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.

2 participants