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

Implement Machine Actuator Delete #21

Merged
merged 8 commits into from
Oct 26, 2018

Conversation

marwanad
Copy link
Member

@marwanad marwanad commented Oct 23, 2018

  • Adds clients for compute API and operations from the network API
  • Fixes machine actuator to delete the VM and its resources rather than delete the entire resource group

Fixes #7

@marwanad marwanad force-pushed the machine-actuator-delete branch from 8e14e66 to ec82ee0 Compare October 24, 2018 18:43
@marwanad marwanad changed the title WIP: Implement Machine Actuator Delete Implement Machine Actuator Delete Oct 24, 2018
@@ -491,3 +532,32 @@ kubeadm join --token "${TOKEN}" "${MASTER}" --ignore-preflight-errors=all --disc
}
return "", errors.New("unable to get startup script: unknown machine role")
}

func azureServicesClientOrDefault(params MachineActuatorParams, authorizer autorest.Authorizer, subscriptionID string) (*services.AzureClients, error) {
Copy link
Member Author

Choose a reason for hiding this comment

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

This logic would be moved as part of #19

@vannrt vannrt merged commit 666e6d0 into kubernetes-sigs:master Oct 26, 2018
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.

2 participants