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: add support for public IP #474

Merged
merged 16 commits into from
Jan 29, 2024
Merged

feat: add support for public IP #474

merged 16 commits into from
Jan 29, 2024

Conversation

jackwotherspoon
Copy link
Contributor

@jackwotherspoon jackwotherspoon commented Jan 17, 2024

Add support for Public IP connections to AlloyDB instances via Go Connector. Default option for ipType will be Private IP but users wishing to use Public IP can use the new WithPublicIP() DialOption.

PR Checklist:

  • use v1alpha client
  • allow multiple ipAddr to be returned
  • update existing unit tests
  • add new integration test
  • Update README with sample

@jackwotherspoon jackwotherspoon self-assigned this Jan 17, 2024
@jackwotherspoon jackwotherspoon changed the title wip: add support for public IP feat: add support for public IP Jan 18, 2024
Copy link
Member

@enocom enocom left a comment

Choose a reason for hiding this comment

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

LGTM. We'll merge this once the feature is fully rolled out.

@@ -227,3 +227,40 @@ func TestAutoIAMAuthN(t *testing.T) {
}
t.Log(tt)
}

func TestPublicIP(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

Shall we put region tags around this usage so we can get it into the public docs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we want to do that as a follow-up PR and arrange both Connector Public IP and Connector Auto IAM AuthN like our direct path tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because we don't currently have region tags around Connector Auto IAM AuthN...

@enocom enocom added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 18, 2024
@enocom enocom force-pushed the public-ip-support branch from b19b964 to 38d3237 Compare January 19, 2024 22:35
@enocom enocom removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 29, 2024
@jackwotherspoon jackwotherspoon merged commit e51ef9b into main Jan 29, 2024
16 checks passed
@jackwotherspoon jackwotherspoon deleted the public-ip-support branch January 29, 2024 18:29
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