-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add flag -use-machined for Talos system extension #8
Conversation
Hi @bnason. As you might have heard, the repo changed hands, as @mologie is stepping away from using VMWare. We (Equinix) will take over from here, and we really like your approach. We will be working to get the tool compatible with recent Talos, and incorporate your suggestion/contribution, I'll be in touch. |
Hello @jonkerj , is there any update on this? |
Hi @bnason, Would you please rebase on current master? |
1886b39
to
4e111cc
Compare
Done, though I haven't done any testing yet. |
Thanks. However there are still some conflicts. Please leave all definitions out of
|
I've tested your changes, and I got positive results:
|
If the version of the Makefile in my repo, everything I think is used except maybe 2 of them. These changes help build the images with the correct tags. My plan was/is to also setup GitHub actions to automatically publish the container images for git tags and these changes would help there. If that is not something that is wanted, I can remove the changes. Are the go.mod and go.sum conflicts an issue? (I'm not a go dev so those files are a mystery to me lol) |
The Makefile is not used for releases, it's only a tool for development. But if it helps you, just keep the definitions in.
Yes, with conflicts we cannot merge :) You can recreate them easily during an interactive rebase:
|
Flag '-use-machined' switches from using the TALOS_CONFIG_PATH and TALOS_HOST, to the Talos constants.MachineSocketPath at /system/run/machined/machine.sock. This is in support of creating a Talos system extension docker image to run talos-vmtoolsd as early in the boot process as possible. Thanks to @flyik for the code inspiration.
4e111cc
to
347c1b7
Compare
I see why I didn't have the same merge conflicts... My upstream was still pointing to Mologies repo |
Flag '-use-machined' switches from using the TALOS_CONFIG_PATH and TALOS_HOST, to the Talos constants.MachineSocketPath at /system/run/machined/machine.sock. This is in support of creating a Talos system extension docker image to run talos-vmtoolsd as early in the boot process as possible.
Thanks to @flyik for the code inspiration.