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

refactor: move TLS config creation to ConnectionInfo #761

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

enocom
Copy link
Member

@enocom enocom commented Apr 1, 2024

This refactor moves all TLS configuration into the connection info type and leaves room for altering the configuration based on the request connection path, rather than hiding the configuration deep within the code that retrieves the ephemeral certificate.

@enocom enocom requested a review from a team as a code owner April 1, 2024 21:35
Base automatically changed from connection-info to main April 2, 2024 15:22
internal/cloudsql/instance.go Dismissed Show dismissed Hide dismissed
This refactor moves all TLS configuration into the connection info type
and leaves room for altering the configuration based on the request
connection path, rather than hiding the configuration deep within the
code that retrieves the ephemeral certificate.
Copy link
Collaborator

@jackwotherspoon jackwotherspoon left a comment

Choose a reason for hiding this comment

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

LGTM

@enocom enocom merged commit cfa7cdc into main Apr 3, 2024
13 checks passed
@enocom enocom deleted the connection-info-2 branch April 3, 2024 19:04
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