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

🐛 Don't require an InstanceSpec for DeleteInstance #1350

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

mdbooth
Copy link
Contributor

@mdbooth mdbooth commented Oct 3, 2022

DeleteInstance requires very little data from InstanceSpec. The 2 methods to create an InstanceSpec, bastionToInstanceSpec and machineToInstanceSpec, require more state than is required by DeleteInstance, and have failure modes which are not relevant to DeleteInstance.

Fixes #1264

/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 3, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mdbooth

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 3, 2022
@netlify
Copy link

netlify bot commented Oct 3, 2022

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit 0f6b333
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/633be7f327e73600082667c7
😎 Deploy Preview https://deploy-preview-1350--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mdbooth
Copy link
Contributor Author

mdbooth commented Oct 3, 2022

E2E test blocked by #1351

DeleteInstance requires very little data from InstanceSpec. The 2
methods to create an InstanceSpec, bastionToInstanceSpec and
machineToInstanceSpec, require more state than is required by
DeleteInstance, and have failure modes which are not relevant to
DeleteInstance.
@mdbooth mdbooth force-pushed the missing-sg-on-delete branch from 2889647 to 0f6b333 Compare October 4, 2022 07:59
@mdbooth
Copy link
Contributor Author

mdbooth commented Oct 4, 2022

Rebased on top of the CI fix.

@mdbooth mdbooth mentioned this pull request Oct 4, 2022
3 tasks
@jichenjc
Copy link
Contributor

jichenjc commented Oct 8, 2022

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 8, 2022
@tobiasgiese
Copy link
Member

/lgtm
👍🏻

@mdbooth
Copy link
Contributor Author

mdbooth commented Oct 10, 2022

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 10, 2022
@k8s-ci-robot k8s-ci-robot merged commit 693d13e into kubernetes-sigs:main Oct 10, 2022
@stephenfin stephenfin deleted the missing-sg-on-delete branch October 26, 2022 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panic: runtime error: invalid memory address or nil pointer dereference
4 participants