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

Enum fix in SQL #234

Merged
merged 2 commits into from
Mar 24, 2021
Merged

Enum fix in SQL #234

merged 2 commits into from
Mar 24, 2021

Conversation

muvaf
Copy link
Member

@muvaf muvaf commented Mar 24, 2021

Description of your changes

Weirdly, Azure SDK says it expects TLS12 format while their enum constants are TLS1_2. In a manual test for #230 , I realized our example is not working due to this. This PR removes the enum and let Azure return error they want in case format is wrong.

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

Manually.

…le the code expects another one. so we just opt out of using an enum for minimum tls version

Signed-off-by: Muvaffak Onus <me@muvaf.com>
@muvaf muvaf requested a review from turkenh March 24, 2021 13:01
@@ -29,5 +29,5 @@ require (
k8s.io/apimachinery v0.20.1
k8s.io/client-go v0.20.1
sigs.k8s.io/controller-runtime v0.8.0
sigs.k8s.io/controller-tools v0.3.0
Copy link
Member

Choose a reason for hiding this comment

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

@muvaf was bumping version here intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, make reviewable made some changes I think not compatible with clean CRD target. So, I just bumped it to make it inline with other providers.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

Signed-off-by: Muvaffak Onus <me@muvaf.com>
@muvaf muvaf merged commit c71244b into crossplane-contrib:master Mar 24, 2021
@muvaf muvaf deleted the sql-enum-fix branch March 24, 2021 18:24
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.

None yet

2 participants