mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-23 00:56:20 +00:00
This commit adds the new reconciler for the Tailnet resource in a new location that we want to put all future reconcilers in and eventually refactor existing reconcilers into. The Tailnet resource represents OAuth credentials for a single tailnet and uses status fields to indicate the validity of the credentials. Validity is determined via expected fields existing (client_id and client_secret) and API calls for devices, keys & services being possible using them. Subsequent resources will be updated to refer to a Tailnet as the source of their oauth credentials, or fall back to the configured default. Fixes: https://github.com/tailscale/corp/issues/34767 Signed-off-by: David Bond <davidsbond93@gmail.com>
Tailscale Kubernetes operator deployment manifests
./cmd/k8s-operator/deploy contain various Tailscale Kubernetes operator deployment manifests.
Helm chart
./cmd/k8s-operator/deploy/chart contains Tailscale operator Helm chart templates.
The chart templates are also used to generate the static manifest, so developers must ensure that any changes applied to the chart have been propagated to the static manifest by running go generate tailscale.com/cmd/k8s-operator
Static manifests
./cmd/k8s-operator/deploy/manifests/operator.yaml is a static manifest for the operator generated from the Helm chart templates for the operator.