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

Feature/add public access in postgresql #293

Conversation

G5Olivieri
Copy link
Contributor

Description of your changes

Add support to PublicNetworkAccess field in PostgreSQLServer only.

This implementation is initially for internal use within Stone. For this reason that there is only an implementation for PostgreSQL and not MySQL. The burden of this is that the field is available in MySQL due to the structure of the types and is completely ignored in the MySQLServer CRD.

Fixes #240

Fixes #

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

  • Unit tests
  • Manually tested

Disclaimer

Before to test see stone-payments#3 talk about a bug that affect this change.

Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

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

Thank you very much for the PR @G5Olivieri. Could you please make sure all your commits are signed following the guide here. We also require them to be signed-off using something similar to git commit -s (they already are signed-off btw).

Regarding the bug you refer to in the description, could you please make sure that we have a bug report in the upstream repo, i.e., crossplane/provider-azure?

Thank you!

pkg/clients/database/postgresql.go Show resolved Hide resolved
pkg/clients/database/postgresql_test.go Show resolved Hide resolved
Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

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

I think you are using Go v1.17 for your builds. Could you please use Go v1.16 as it's the current version in our CI workflow as specified here.

@G5Olivieri G5Olivieri force-pushed the feature/add-public-access-in-postgresql branch from 4a54380 to ee1e3af Compare September 24, 2021 10:24
Signed-off-by: Glayson Olivieri <glayson.murollo75@gmail.com>
Signed-off-by: Glayson Olivieri <glayson.murollo75@gmail.com>
Signed-off-by: Glayson Olivieri <glayson.murollo75@gmail.com>
Signed-off-by: Glayson Olivieri <glayson.murollo75@gmail.com>
@G5Olivieri G5Olivieri force-pushed the feature/add-public-access-in-postgresql branch from ee1e3af to 2cf7d16 Compare September 24, 2021 10:28
@ulucinar
Copy link
Collaborator

LGTM, thank you @G5Olivieri!

@ulucinar ulucinar merged commit 1c07021 into crossplane-contrib:master Sep 24, 2021
@G5Olivieri G5Olivieri deleted the feature/add-public-access-in-postgresql branch September 27, 2021 18:03
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.

Support for disabling public access to Azure PostgreSQL db
2 participants