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 support for api gateway + consul namespaces #1024

Merged
merged 5 commits into from
Feb 22, 2022

Conversation

andrewstucki
Copy link
Contributor

This PR, coinciding with the corresponding PR in the api gateway codebase adds support for namespace mapping of deployed gateways.

More context around the usage envisioned is in that PR, but for the most part this copies the same configuration as used in the connect injection and catalog sync helm configuration.

Tested via bats:

➜  consul-k8s git:(apigateway-namespace-mirroring) bats charts/consul/test/unit/api-gateway-controller-deployment.bats |
 grep "enable namespace"
ok 5 apiGateway/Deployment: enable namespaces
ok 6 apiGateway/Deployment: enable namespace mirroring
ok 7 apiGateway/Deployment: enable namespace mirroring prefixes

@andrewstucki andrewstucki marked this pull request as ready for review February 18, 2022 19:40
@nathancoleman nathancoleman requested review from a team and ishustava and removed request for a team February 22, 2022 15:09
Copy link
Contributor

@mikemorris mikemorris left a comment

Choose a reason for hiding this comment

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

LGTM from the API Gateway side, would appreciate a final review from @hc-github-team-consul-ecosystem before merging.

@andrewstucki andrewstucki requested a review from a team February 22, 2022 17:13
Copy link
Contributor

@ndhanushkodi ndhanushkodi left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Contributor

@ishustava ishustava left a comment

Choose a reason for hiding this comment

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

Looks great!

charts/consul/values.yaml Outdated Show resolved Hide resolved
Co-authored-by: Iryna Shustava <ishustava@users.noreply.github.com>
@Jeff-Apple Jeff-Apple merged commit 9daaeba into main Feb 22, 2022
@Jeff-Apple Jeff-Apple deleted the apigateway-namespace-mirroring branch February 22, 2022 18:03
geobeau pushed a commit to geobeau/consul-k8s that referenced this pull request May 20, 2022
… is offline (hashicorp#1024)

* Fail scheduling all pods that are not part of consul when the webhook is unhealthy.

Co-authored-by: Iryna Shustava <ishustava@users.noreply.github.com>
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.

6 participants