-
Notifications
You must be signed in to change notification settings - Fork 18
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
Bump crossplane runtime version to v0.13.0 #64
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nitpicks, but otherwise this looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me except for the introduction of testify for testing, which I would prefer to avoid.
Hi @negz @hasheddan, please help review this PR again. |
d122e9c
to
5b2932f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very close, nice work @zzxwill! A few small comments below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @zzxwill for the PR.
I will continue & finalize the review later in the day.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @zzxwill,
Thank you for the PR. This concludes my initial review of this PR.
0ecf797
to
6b18a27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @zzxwill for the PR! This looks good to me apart from a few nits.
- use common extracting credentials function `CommonCredentialExtractor` - use base64 string as the secret value for Alibaba provider config - bump version of providerconfi from v1alpha1 to v1alpha2 - update `make demo` Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
- added kubebuilder catagories field - removed check on cr.Spec.ProviderConfigReference Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Due to the upgrade of runtime, I deleted the manually Creating/Deleting status setting for SLS project after merge from master Signed-off-by: Zheng Xi Zhou <[email protected]>
I reverted some TODO and comments from master when upgrading crossplane runtime by abandoning Provider object and copy latest practive from provider-template Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Add a common PrepareClient to prepare all information to establish a SDK client Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
co-authored-by: Alper Ulucinar <[email protected]> Signed-off-by: Zheng Xi Zhou <[email protected]>
Co-authored-by: Alper Ulucinar <[email protected]> Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
@negz Hi Nic, can you help approve this PR. Let's merge it. |
Hey folks! I'm happy to merge this, but I'd love to see the "How has this been tested" section filled out with some more detail. I think it was misinterpreted as "Was this tested" because it currently just says "Yes". :) |
@negz It's done. |
@zzxwill Thank you for the very thorough testing info! |
Hrm I think merging this PR broke the main branch - see https://github.com/crossplane/provider-alibaba/actions/runs/1054471865. Did you rebase before running your tests? It looks like the problem is that the SLS controller/sls package is trying to import the v1alpha1 ProviderConfig type, that no longer exists. |
By upgrading the version of ProviderConfig to v1beta1 can fix the build issue and simplify the process of managed resource connection. Fixed the issue mentioned in crossplane-contrib#64 (comment)
By upgrading the version of ProviderConfig to v1beta1 can fix the build issue and simplify the process of managed resource connection. Fixed the issue mentioned in crossplane-contrib#64 (comment) Signed-off-by: zzxwill <[email protected]>
CommonCredentialExtractor
make demo
Signed-off-by: Zheng Xi Zhou [email protected]
Description of your changes
Fixes https://github.com/crossplane/provider-alibaba/pull/58/files#r595574127
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Apply a
ProviderConfig
to provide Alibaba cloud credentials.Test provisioning and destroying managed resources
As this PR lasts a long time, almost all supported cloud products RDS, OSS, Redis, SLB, SLS are related. I test each managed resource in each product. Let's take OSS as an example.