Documentation
¶
Overview ¶
Package tailscale is the module root of github.com/truvity/tailscale.
The module ships Tailscale mechanism for Kubernetes estates: the tailscaled (subnet router) and tsdns (split-DNS gateway) Helm charts under charts/, and Pulumi Go packages — pkg/acl, a pure tailnet policy builder (shipped); pkg/tailnet, the policy resource, router keys, split DNS and flow logs (shipped — per-cluster router wiring folded in rather than a separate k8srouter package); pkg/awsrouter, an EC2 auto-scaling subnet router fleet (shipped). Credentials come in as providers, keys go out as Outputs; the caller stores them.
Directories
¶
| Path | Synopsis |
|---|---|
|
pkg
|
|
|
acl
Package acl builds a tailnet's complete ACL policy document from a neutral model — pure data in, deterministic JSON out, no Tailscale SDK, no cloud, no config-file opinions.
|
Package acl builds a tailnet's complete ACL policy document from a neutral model — pure data in, deterministic JSON out, no Tailscale SDK, no cloud, no config-file opinions. |
|
awsrouter
Package awsrouter provisions the EC2 half of a tailnet: an auto-scaling subnet router fleet — security group, IAM instance profile (SSM-managed, no SSH), launch template with cloud-init user data, and the ASG with an optional warm pool — reading its tagged auth key from an SSM parameter the tailnet stack wrote (pkg/tailnet NewRouterKey → the caller's SSM write).
|
Package awsrouter provisions the EC2 half of a tailnet: an auto-scaling subnet router fleet — security group, IAM instance profile (SSM-managed, no SSH), launch template with cloud-init user data, and the ASG with an optional warm pool — reading its tagged auth key from an SSM parameter the tailnet stack wrote (pkg/tailnet NewRouterKey → the caller's SSM write). |
|
tailnet
Package tailnet wraps the Tailscale provider resources a Kubernetes estate's tailnet needs, with the conventions that make them safe to operate — thin by design: every resource is top-level and fully named by the caller (adopting an existing estate means zero URN churn), the provider comes in via pulumi.Provider, and secrets (auth keys) go out as Outputs for the caller to store.
|
Package tailnet wraps the Tailscale provider resources a Kubernetes estate's tailnet needs, with the conventions that make them safe to operate — thin by design: every resource is top-level and fully named by the caller (adopting an existing estate means zero URN churn), the provider comes in via pulumi.Provider, and secrets (auth keys) go out as Outputs for the caller to store. |
Click to show internal directories.
Click to hide internal directories.