You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tstest
Irbe Krumina 1a08ea5990
cmd/k8s-operator: operator can create subnetrouter (#9505)
* k8s-operator,cmd/k8s-operator,Makefile,scripts,.github/workflows: add Connector kube CRD.

Connector CRD allows users to configure the Tailscale Kubernetes operator
to deploy a subnet router to expose cluster CIDRs or
other CIDRs available from within the cluster
to their tailnet.

Also adds various CRD related machinery to
generate CRD YAML, deep copy implementations etc.

Engineers will now have to run
'make kube-generate-all` after changing kube files
to ensure that all generated files are up to date.

* cmd/k8s-operator,k8s-operator: reconcile Connector resources

Reconcile Connector resources, create/delete subnetrouter resources in response to changes to Connector(s).

Connector reconciler will not be started unless
ENABLE_CONNECTOR env var is set to true.
This means that users who don't want to use the alpha
Connector custom resource don't have to install the Connector
CRD to their cluster.
For users who do want to use it the flow is:
- install the CRD
- install the operator (via Helm chart or using static manifests).
For Helm users set .values.enableConnector to true, for static
manifest users, set ENABLE_CONNECTOR to true in the static manifest.

Updates tailscale/tailscale#502


Signed-off-by: Irbe Krumina <irbe@tailscale.com>
11 months ago
..
archtest all: update copyright and license headers 2 years ago
deptest tstest/deptest: fix minor escaping error in regex 1 year ago
integration cmd/sniproxy: implement support for control configuration, multiple addresses 1 year ago
iosdeps all: replace deprecated ioutil references 1 year ago
jsdeps tstest/deptest: add test-only package to unify negative dep tests 1 year ago
natlab wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2 years ago
tools cmd/k8s-operator: operator can create subnetrouter (#9505) 11 months ago
allocs.go all: update copyright and license headers 2 years ago
clock.go tstime: add Since method (#8622) 1 year ago
clock_test.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
log.go control/controlclient: remove unused StartLogout 1 year ago
log_test.go all: update copyright and license headers 2 years ago
resource.go tstest: make ResourceCheck panic on parallel tests 1 year ago
tstest.go ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 1 year ago
tstest_test.go tstest: add method to Replace values for tests 2 years ago