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

feat: Add MachineHealthCheck to workload cluster #5

Merged
merged 1 commit into from
Jul 13, 2022
Merged

Conversation

carezkh
Copy link
Contributor

@carezkh carezkh commented Jul 12, 2022

No description provided.

main.go Outdated
@@ -249,7 +249,7 @@ func createCluster(cmd *cobra.Command, args []string) error {
fmt.Sprintf("VIRTINK_MACHINE_ROOTFS_SIZE=%s", createClusterOpts.virtinkMachineRootfsSize.String()),
)

generateClusterArgs := []string{"generate", "cluster", createClusterOpts.clusterName}
generateClusterArgs := []string{"generate", "cluster", createClusterOpts.clusterName, "--flavor", "mhc"}
Copy link
Contributor

Choose a reason for hiding this comment

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

--flavor conflicts with --from

Copy link
Contributor

Choose a reason for hiding this comment

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

--from allows users to customize template, we'd better keep it. add --flavor=mhc only when --from is absent

@fengye87 fengye87 merged commit 680b86f into main Jul 13, 2022
@fengye87 fengye87 deleted the care-dev-add-mhc branch July 13, 2022 03:57
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.

3 participants