mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-15 07:20:36 -04:00
The Helm chart hardcoded the operator's Deployment, ServiceAccount, Role, and RoleBinding names to "operator". Adds a standard _helpers.tpl with name/fullname template functions and use them for the operator's resources, including the oauth Secret and the cluster-scoped ClusterRole/ClusterRoleBinding. When neither nameOverride nor fullnameOverride is set, the fullname resolves to the historical hardcoded names rather than the release name, so existing installations upgrade with no resource renames; rendering with default values is byte-identical to before. Fixes tailscale/tailscale#18232 Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
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.