-
Notifications
You must be signed in to change notification settings - Fork 66
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
Agreement on how to write connection parameters #203
Comments
The follow-up discussion can also be found here: https://crossplane.slack.com/archives/C01718T2476/p1732801643245679. |
Thanks for brining this up @pierluigilenoci This was also discussed on the linked Slack thread but sharing here for posterity. I've never seen this as a big issue as it was never a blocker for me, I've been using these through Compositions, which allow me to map Like this (ref):
I remember vaguely that the provider for GCP supported the consistent endpoint/port/username/password but that doesn't seem to be the case for the Upjet provider. The secret from provider-upjet-gcp's CloudSQL connectionDetails does not match in any way that could possibly work with provider-sql without rewriting the secret (with a Composition for example). The 'vanilla' provider-gcp did return the consistent secrets, hence where I remember that from, as well as the 'vanilla' provider-aws. You can see here that provider-aws maps So to be very pedantic, this was a regression introduced by provider-upjet-aws. 😇 Again, as also mentioned by someone else on the Slack thread, this can be resolved with a Composition, which would also be required for CloudSQL in provider-upjet-gcp anyways I don't think the provider-sql should accomodate for each CSP's generated secret, it creates a maintenance burden to follow multiple upstream providers, as well as multiple versions of that provider in case the connection details change upon a breaking change/major version release. |
There is a "small" issue that makes the UpJet AWS provider unusable in conjunction with the SQL provider.
This is because there is a discrepancy between the way the UpJet provider writes credentials and how the SQL provider reads them.
Could the maintainers of both providers discuss and find a solution to unblock all users who would like to create databases and easily execute queries?
List of issues to help you analyze the problem:
The text was updated successfully, but these errors were encountered: