# Before applyong this ensure that the operator is owner of tag:subnet. # https://tailscale.com/kb/1236/kubernetes-operator/#setting-up-the-kubernetes-operator. # To set up autoapproval set tag:subnet as approver for 10.40.0.0/14 route # otherwise you will need to approve it manually in control panel once the # subnet router has been created. # https://tailscale.com/kb/1019/subnets/#advertise-subnet-routes apiVersion: tailscale.com/v1alpha1 kind: Connector metadata: name: exposepods spec: subnetRouter: routes: - "10.40.0.0/14" tags: - "tag:subnet" hostname: pods-subnetrouter