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

feat: enable Proxy to be started with DNS names #2363

Merged
merged 6 commits into from
Jan 29, 2025
Merged

Conversation

jackwotherspoon
Copy link
Collaborator

Add default Go Connector Option WithDNSResolver to the Cloud SQL Proxy.

This Option allows the Proxy to be started with either an instance connection name or a DNS name.

The WithDNSResolver Option configures the underlying Cloud SQL Go Connector
to first attempt to parse value as an instance connection name, if it is not a valid
instance connection name then attempt to parse as DNS name.

@jackwotherspoon jackwotherspoon self-assigned this Jan 15, 2025
@jackwotherspoon jackwotherspoon marked this pull request as ready for review January 28, 2025 21:00
@jackwotherspoon jackwotherspoon requested a review from a team as a code owner January 28, 2025 21:00
@jackwotherspoon
Copy link
Collaborator Author

Integration test will be added as a fast follow, waiting for backend changes propagate

@jackwotherspoon
Copy link
Collaborator Author

Added integration test for customer CAS instance with instance connection name and domain name

Copy link
Collaborator

@hessjcg hessjcg left a comment

Choose a reason for hiding this comment

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

Nice test.

@jackwotherspoon jackwotherspoon merged commit d902441 into main Jan 29, 2025
14 checks passed
@jackwotherspoon jackwotherspoon deleted the dnsResolver branch January 29, 2025 16:16
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