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 zerotier extension to Talos #596

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ht-danielgo
Copy link

  • This builds a Zerotier 1.14.2 (latest as of writing) for use as a Talos extension
  • Tested OK on a Talos 1.8.4 host
  • Requires a service config that looks like this
apiVersion: v1alpha1
kind: ExtensionServiceConfig
name: zerotier
configFiles:
  - content: ' '
    mountPath: /var/lib/zerotier-one/networks.d/<network id>.conf
  - content: <zerotier-idtool secret file content>
    mountPath: /var/lib/zerotier-one/identity.secret
  - content: <zerotier-idtool public file content>
  - mountPath: /var/lib/zerotier-one/identity.public

options:
- bind
- ro
## Required for zerotier. Ip addr and other commands
Copy link
Member

Choose a reason for hiding this comment

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

talos doesn't ship any of those commands so I'm not sure sbin mount has any effect

Copy link
Author

Choose a reason for hiding this comment

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

This is fair, i took it straight from the WG extension, but will remove

@ht-danielgo
Copy link
Author

Just want to pause on this for a bit as I have a better way to deal with the configuration of the ZT credentials that will make configuration much easier, should have it ready end of week

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