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

helm: Add support for separate Postgres/Mongo listeners in teleport-cluster chart #10858

Merged
merged 10 commits into from
Mar 24, 2022

Conversation

webvictim
Copy link
Contributor

@webvictim webvictim commented Mar 4, 2022

This PR implements support for separating Postgres and/or Mongo listeners out to a separate port and configuring the LoadBalancer appropriately. This is useful when using ACM to terminate traffic in front of the load balancer, as multiplexing on the same port will no longer work.

It also adds a special case to teleport-cluster NOTES.txt when using AWS ACM, so we don't show an error when cert-manager isn't enabled but ACM is being used.

Backports required:

  • branch/v8
  • branch/v9

Linked to #10857

@webvictim webvictim changed the title helm: Update NOTES.txt for AWS ACM helm: Add support for separate Postgres/Mongo listeners in teleport-cluster chart Mar 9, 2022
@webvictim webvictim requested a review from zmb3 March 9, 2022 17:30
@webvictim
Copy link
Contributor Author

@zmb3 The scope of the PR has changed a bit now with a couple of new values, so would appreciate a re-review.

Comment on lines -15 to -24
- it: matches snapshot for acme-off.yaml
values:
- ../.lint/acme-off.yaml
asserts:
- hasDocuments:
count: 1
- isKind:
of: ConfigMap
- matchSnapshot: {}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test was accidentally duplicated twice in the initial commit.

@webvictim
Copy link
Contributor Author

@zmb3 This one has unit tests now... 😁

Copy link
Collaborator

@r0mant r0mant left a comment

Choose a reason for hiding this comment

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

@webvictim Should we add this to the Helm chart docs too in this PR?

@webvictim
Copy link
Contributor Author

@r0mant Yes, good point. I will add this to the docs, merge and backport tomorrow.

@webvictim webvictim disabled auto-merge March 24, 2022 03:33
@webvictim
Copy link
Contributor Author

Also adds a quick fix for #11411

@webvictim webvictim enabled auto-merge (squash) March 24, 2022 18:17
@webvictim webvictim merged commit e5cbd62 into master Mar 24, 2022
@webvictim webvictim deleted the gus/helm/aws-acm branch March 24, 2022 18:41
webvictim added a commit that referenced this pull request Mar 24, 2022
…luster chart (#10858)

* helm: Update NOTES.txt for AWS ACM

* Add support for separate Postgres/MongoDB listeners in teleport-cluster chart

* Special case backend listener protocol based on presence of ACM annotation

* Don't add AWS annotations when not in AWS mode

* Adds for separatePostgresListener/separateMongoListener

Also adds missing example for setitng proxyListenerMode

* Add continuous backups permission to DynamoDB policy

Fixes #11411
webvictim added a commit that referenced this pull request Mar 24, 2022
…luster chart (#10858)

* helm: Update NOTES.txt for AWS ACM

* Add support for separate Postgres/MongoDB listeners in teleport-cluster chart

* Special case backend listener protocol based on presence of ACM annotation

* Don't add AWS annotations when not in AWS mode

* Adds for separatePostgresListener/separateMongoListener

Also adds missing example for setitng proxyListenerMode

* Add continuous backups permission to DynamoDB policy
webvictim added a commit that referenced this pull request Mar 31, 2022
…luster chart (#10858) (#11434)

* helm: Update NOTES.txt for AWS ACM

* Add support for separate Postgres/MongoDB listeners in teleport-cluster chart

* Special case backend listener protocol based on presence of ACM annotation

* Don't add AWS annotations when not in AWS mode

* Adds for separatePostgresListener/separateMongoListener

Also adds missing example for setitng proxyListenerMode

* Add continuous backups permission to DynamoDB policy
@webvictim webvictim mentioned this pull request Apr 19, 2022
@webvictim webvictim mentioned this pull request Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants