cluster-api-provider-gcp
cluster-api-provider-gcp copied to clipboard
fix: Prevent GCPManagedCluster reconciler to not crash if Network.Name and Network.Subnets is not passed to it
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1187
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
- [ ] squashed commits
- [ ] includes documentation
- [ ] adds unit tests
Release note:
fix: Prevent GCPManagedCluster reconciler to not crash if Network.Name and Network.Subnets is not passed to it
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: tasdikrahman Once this PR has been reviewed and has the lgtm label, please assign fabriziopandini for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Hi @tasdikrahman. Thanks for your PR.
I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Deploy Preview for kubernetes-sigs-cluster-api-gcp ready!
| Name | Link |
|---|---|
| Latest commit | 24fc95ff62188b3eee55a9d61fa49e2f5af63589 |
| Latest deploy log | https://app.netlify.com/sites/kubernetes-sigs-cluster-api-gcp/deploys/666c1e0ae27b6a0008bc6e49 |
| Deploy Preview | https://deploy-preview-1261--kubernetes-sigs-cluster-api-gcp.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
/hold for the unit tests
thanks for working on this !
Hello folks, I re-opened this PR with the fixes and test specifications here https://github.com/kubernetes-sigs/cluster-api-provider-gcp/pull/1284/, please have a look. @cpanato @damdo