TS
Tailscale SOPKnowledge Base
Search
← All topics

GitOps for Tailscale

Last validated: May 2, 2025

tailscale
Agent trigger phrases:

GitOps for Tailscale

Last validated: May 2, 2025

GitOps for Tailscaleis available for all plans.

GitOps for Tailscale is an alternative to managing access control policies and the tailnet policy file using the admin console. Using GitOps offers some distinct advantages. It lets you leverage all the benefits of Git version control for your tailnet policy file such as maintaining multiple versions, auditing commits, and adopting a config as code approach.

You can also require reviews before merging changes, invoke automatic tests to run upon tailnet policy file changes, and automatically apply validated changes to your policy file.

When you use GitOps, Tailscale automatically validates changes to the tailnet policy file when you push or pull changes using Git.

GitOps for Tailscale works with Bitbucket, GitHub Actions, and GitLab CI. Explore the following topics to enable, disable, and manage GitOps for Tailscale:

GitOps for Tailscale with Bitbucket \ \ Use a Bitbucket CI to maintain your tailnet policy file as code. GitOps for Tailscale with GitHub Actions \ \ Use a GitHub Action to maintain your tailnet policy file as code. GitOps for Tailscale with GitLab CI \ \ Use a GitLab CI to maintain your tailnet policy file as code.

Project Logo

Ask AI

reCAPTCHA

Recaptcha requires verification.

protected by reCAPTCHA