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

Automatically download Astra secure connect bundle #69

Merged
merged 2 commits into from
Feb 7, 2022

Conversation

mpenick
Copy link
Contributor

@mpenick mpenick commented Jan 25, 2022

This adds new --token and --database-id flags to allow the proxy to connect to Astra w/o having to provide a secure connect bundle file. This is much more user friendly and makes the k8s configuration more concise.

Fixes: #47

I think that the cli flags could use some updating to be more use
friendly and to separate Astra from OSS Cassandra.
@mpenick mpenick marked this pull request as ready for review February 2, 2022 18:22
@mpenick mpenick changed the title Automatically download Astra secure connect bundle (draft) Automatically download Astra secure connect bundle Feb 2, 2022
@mpenick
Copy link
Contributor Author

mpenick commented Feb 2, 2022

Might need to rework because of changes in #71

@mpenick
Copy link
Contributor Author

mpenick commented Feb 2, 2022

Tested manually against an existing Astra cluster. I've created a follow up issue to add automated testing for this: #73

That will either mock out the Astra API or I will create an integration test with an existing Astra cluster in prod and have this run in CI with secrets. Maybe both?

Copy link
Collaborator

@joao-r-reis joao-r-reis left a comment

Choose a reason for hiding this comment

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

Small and simple PR, looks good!

@mpenick mpenick merged commit 42b6f34 into main Feb 7, 2022
@mpenick mpenick deleted the astra-bundle-download branch February 7, 2022 21:58
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.

Pull SCB automatically using token
2 participants