forked from kubernetes-sigs/cluster-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix govmomi actuator's Create when using clusterctl (kubernetes-sigs#77)
Clusterctl create cluster was not able to properly create the target cluster. It would sit in an infinite loop, attempting to clone the VM template. The fix was to not use annotations for task ref and vm ref during create. Instead, use provider status. Once this fix was in, the Target cluster would then sit in an infinite loop, attempting to clone the VM template. The fix was to check for nodeRef in the actuator's Exists() function. In addition, moved utils from provisioner/common to provisioner/govmomi as it's only ever used by the govmomi actuator. Fixes kubernetes-sigs#70
- Loading branch information
1 parent
8704ad1
commit 2976b2f
Showing
9 changed files
with
106 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.